I have this in a public class:
SqlConnection myConnection = new SqlConnection(\"Data Source=hermes;database=qcvalues; Integrated Security=SSPI;\"); myConnect
if you can use DataAdapter subclass or use something as:
DataTable myTable = new DataTable(); myTable.Load(myCommand.ExecuteReader());
and then return DataTable to client.