使用DataGridView进行数据库更新 [英] Database update using DataGridView
本文介绍了使用DataGridView进行数据库更新的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我一直在尝试使用Windows窗体中的DataGridView更新SQL Server 2008中的数据库。但是我没有成功,因为它在代码行cmd.ExecuteNonQuery上给出了映射不存在的错误
任何人都可以帮助我,我会非常感激。
I have been trying to update the database in SQL Server 2008 using DataGridView in Windows form. But I have been unsuccessful to do so, as it gives a error "mapping does not exists" on the code line "cmd.ExecuteNonQuery"
Can any one help me through, I will be really thankful.
推荐答案
http://www.c-sharpcorner.com/UploadFile/rohatash/insert-edit-update-and-delete-data-with-datagridview-in-wi/
[ ^ ]
http://www.dotnetcurry.com/ShowArticle.aspx?ID=132 [ ^ ]
此链接可以帮助您。
http://www.c-sharpcorner.com/UploadFile/rohatash/insert-edit-update-and-delete-data-with-datagridview-in-wi/
[^]
http://www.dotnetcurry.com/ShowArticle.aspx?ID=132[^]
This link help you.
这篇关于使用DataGridView进行数据库更新的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文