Some Lowclass Error I meet ~~~

int count=comm.ExecuteNonQuery();
   MessageBox.Show("return's count is "+count,"it is a alert",MessageBoxButtons.OKCancel,MessageBoxIcon.Warning);

return is -1 , I should have thought it can get n, but except  DML , ALLwill return -1 

posted on 2004-01-18 10:00  sqlDBAer  阅读(409)  评论(2编辑  收藏  举报

导航