标签:
using (IDbConnection conn = OpenConnection()) { string sql = "SELECT TOP 1 * FROM dbo.Students"; DataTable dt = new DataTable(); dt.Load(conn.ExecuteReader(sql)); }
Daper返回DataTable
原文地址:http://www.cnblogs.com/babietongtianta/p/4725571.html