using (IDbConnection conn = OpenConnection()) { string sql = "SELECT TOP 1 * FROM dbo.Students"; DataTable dt = new DataTable(); dt.Load(conn.ExecuteReader(sql)); }
using (IDbConnection conn = OpenConnection()) { string sql = "SELECT TOP 1 * FROM dbo.Students"; DataTable dt = new DataTable(); dt.Load(conn.ExecuteReader(sql)); }