且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

使用dataadapter,dataset在数据库表中添加一行

更新时间:2023-12-04 08:58:58

来自以下问题的陈述
From the following statements of the question
tableView.Update(dset, "Info");
tableView.UpdateCommand = cb.GetUpdateCommand();


可以看出,在调用Update 方法之后分配了UpdateCommand .
只需检查是否由于这个原因有任何问题.


It can be seen that UpdateCommand is assigned after calling the Update method.
Just check whether there is any problem due to this.


您能否看一下下面给出的此链接:

http://msdn.microsoft.com/en-us/library/33y2221y (v = vs.100).aspx [
Can you please have a look at this link given below:

http://msdn.microsoft.com/en-us/library/33y2221y(v=vs.100).aspx[^]