VisualStudio Windows应用程序中的DataGridView [英] DataGridView in VisualStudio windows Application

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

问题描述

在我的Visual Studio Windows应用程序中,我添加了带有Chekbox列的datagridview并将某些列的visible属性设置为false.设置为visibl false是可见的,并且在复选框列中没有复选框.如果表单已关闭并再次加载,则第一次可以正常工作

In my visual studio windows application i added datagridview with Chekbox column and some columns visible property set as false.first time it work fine that is filling the datagridview with some condition and then after change the condition and again filling , the columns which are set visibl false are visible and in check box column there is no check box.if form is closed and again loaded it work fine for first time

推荐答案

您更改后的条件,我没错,您设置的可见错误是复选框列.


最好的问候,

Theingi Win
You should check your after change condition, I''m not wrong your set visible false is check box column.


Best Regards,

Theingi Win


亲爱的士兵K

您在加载表单中正确绑定了网格视图,但是在控件事件中您没有正确绑定

对其进行一次检查
Dear shonk K

You are binding grid view in the load form properly, but in the control event you are not binding properly

check it once


希望 [ ^ ]可以帮助您解决问题.
Hope this[^] may help you to solve your problem.


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

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