public static class QuickGetDataTable
{
DataTable GetDatatable(string connectionString, string selectCommand) {
SqlDataAdapter sda = new SqlDataAdapter(selectCommand, connectionString);
DataTable dt = null;
sda.Fill(dt);
return dt;
}
}
Tuesday, December 8, 2009
Quick Get DataTable Class
ป้ายกำกับ:
Ado.net
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment