在WPF DataGrid中修改数据 [英] Modify Data in WPF DataGrid

查看:829
本文介绍了在WPF DataGrid中修改数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我的项目中,当我修改数据库中的数据然后在WPF datagrid中显示时,数据在datagrid中显示在单独的行中
它不在同一行中修改


例如:
当我将卡纳塔克邦修改为卡纳塔克邦1时,它显示在单独的行中
我该如何解决这个问题
如下所示


代码

In my project when I modify data in database and then displaying in WPF datagrid, the data displaying in datagrid in separate row
It is not modifying in the same row


For eg:
When I modified Karnataka as Karnataka1, it is displaying in separate row
How can I solve this problem
As follows it is showing


Code

推荐答案

写道:​​

代码



您错过了问题中的代码部分.

为了解决您的问题,请查看



You have missed the code section in your question.

For a solution to you problem, have a look here[^] .


这篇关于在WPF DataGrid中修改数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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