I have troubles finding out how to save an SQL result into a String or whatever type the result returns.
My SQL query is:
SELECT SUM(Length) FROM tbl_tes
You need to connect C# to your Database through some of the available methods:
I would think ADO.NET is the most basic and straightforward way to do it given you actual query.