Iroshan's Blog
Friday, June 5, 2009
Data Retival
SqlConnection con = new SqlConnection(conString);
string sql = "Select * from HumanResources.Employee";
SqlCommand cmd = new SqlCommand(sql, con);
ds = new DataSet();
SqlDataAdapter adpt = new SqlDataAdapter(cmd);
adpt.Fill(ds);
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment