简体   繁体   English

ASP.Net Web表单(C#)-2种方式绑定

[英]ASP.Net web form (C#) - 2 Way Binding

Trying to figure out how to bind data for updating of records similar to a bound ms access subform. 试图弄清楚如何绑定数据以更新记录,类似于绑定的ms访问子表单。

Ideally I would like all column/rows to be able to be updated automatically as they get filled out. 理想情况下,我希望所有列/行在填写后都能够自动更新。 Think of a list of products where you need to update 20 prices at once. 想一想您需要一次更新20个价格的产品列表。 I wouldnt want to click an update button 20 times rather have it auto save. 我不想单击20次更新按钮,而是希望它自动保存。 Any help is appreciated. 任何帮助表示赞赏。 Thanks. 谢谢。

Heres the best solution for doing a bulk update in a gridview. 这是在gridview中进行批量更新的最佳解决方案。

http://msdn.microsoft.com/en-us/library/aa992036(v=vs.90).aspx http://msdn.microsoft.com/zh-CN/library/aa992036(v=vs.90).aspx

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM