更新数据网格工具包 [英] updating datagrid toolkit

查看:100
本文介绍了更新数据网格工具包的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


谁能告诉我在编辑单元格值后如何更新数据网格以及数据库......


can anyone tell me how to update a datagrid as well as database after editing a cell value......

推荐答案

通常,数据网格绑定到集合在/viewmodel后面的代码中.如果数据绑定是TwoWay,那么您只需要做一个按钮即可将集合保存到数据库中.

希望对您有帮助
Normally, the datagrid is bound to a collection in the code behind/viewmodel. If the databinding is TwoWay, then all you need to do is have a button that saves the collection to the database.

Hope this helps


这篇关于更新数据网格工具包的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆