本文介绍了将Datagridview更新到数据库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好,
我有一个有关将datagridview更新到数据库的查询.
我对表单有一个datagridview,其中填充了提供datatable作为源.
现在,我要编辑和更新相同的数据网格.
它正在正确编辑,但是在更新时没有错误,并且数据库也相同.
我在表单上使用了数据集,bindingsource和dataadapter.
如果我错了,请指导我.
谢谢.
HBK
Hello to all,
I have a query regarding updating datagridview to database.
I have a datagridview to the form, which filled providing datatable as a source.
Now I want to edit and update the same datagrid.
It is editing properly but at the time of update there is no error and database is also the same.
I have used dataset , bindingsource and dataadapter on the form.
Please guide me if i''m wrong.
Thanks in advt.
HBK
推荐答案
这篇关于将Datagridview更新到数据库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!