10 2009 档案
摘要:使用SqlDataAdapter的DeleteCommand删除数据时,必须使用dr.Delete();使用dt.Rows.Remove()或dt.Rows.RemoveAt()方法均无效因为SqlDataAdapter的Update()方法是将数据集中dt.Rows[n].RowState ==Unchanged的行给更新到数据库,而使用Remove()和RemoveAt()均不会使数据行的Ro...
阅读全文
摘要:insert into L02_DATA_T(p_Layer_ID,P_ID,P_Name,Mapx,Mapy) select '175'as Layer_ID,P_ID,P_Name,MApx,Mapy fromOPENROWSET('MICROSOFT.JET.OLEDB.4.0','Excel 5.0;HDR=YES;DATABASE=C:\Documents and Settings\Ad...
阅读全文

浙公网安备 33010602011771号