标签:on ad as new sql ld c command query
command可以直接执行
SqlCommand myCmd=new SqlCommand(sqlstr,myConn);
myCmd.ExecuteNonQuery();
也可以存在DataSet中
SqlCommand myCmd=new SqlCommand(sqlstr,myConn);
SqlDataAdapter myDa= new SqlDataAdapter(myCmd);
DataSet myDs=new Dataset();
myDa.fill(myDs);
标签:on ad as new sql ld c command query
原文地址:http://www.cnblogs.com/handsomer/p/4150441.html