62,254
社区成员
发帖
与我相关
我的任务
分享
SqlConnection sqlcnt = new SqlConnection("stringconnection");
sqlcnt.Open();
SqlCommand sqlcmd = new SqlCommand();
sqlcmd.Connection = sqlcnt;
sqlcmd.CommandText = "";
sqlcmd.CommandType = CommandType.StoredProcedure;
SqlDataAdapter sda = new SqlDataAdapter(sqlcmd);
sda.Fill();