无法在Window应用程序中编辑DataGridView [英] Unable to edit DataGridView in Window application

查看:61
本文介绍了无法在Window应用程序中编辑DataGridView的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已将List Collection绑定到DatagridView,但我无法编辑DatagridView。



有人能帮帮我吗?

I have bind List Collection to DatagridView ,but i am unable to edit DatagridView.

can anybody help me?

推荐答案

首先验证是否设置了这些网格属性:

First verify that these grid properties are set:
ReadOnly = false; 
AllowUserToAddRow = true; 
EditMode



如果这不起作用,那么你可能会陷入编辑模式。检查 DataGridView.EditMode [ ^ ]属性。







- Amit


这篇关于无法在Window应用程序中编辑DataGridView的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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