c#.net中的datagridview [英] datagridview in c#.net

查看:79
本文介绍了c#.net中的datagridview的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我在Windows窗体中有一个datagridview.
现在,我想将列添加到datagridview.

通过columns collection属性将列添加到datagridview时,添加列窗口将消失.

它在c#.net3.0(Windows应用程序)中.


问候,
Nagaraju.N

解决方案


尝试检查以下链接:
http://msdn.microsoft.com/en-us/library/wc06dx4f.aspx [ ^ ]

http://msdn.microsoft.com/en-us/library/zkatshfa [ ^ ]

问候
Robert


nm.nagaraju写道:

通过列集合属性将列添加到datagridview时,添加了专栏窗口将消失.


你是什​​么意思?只是对话框消失了还是生成的列消失了?如果只是对话框,那么它将不在屏幕上.

试试这个将对话框丢出屏幕吗? [ ^ ]

Windows应用程序中的DataGridView [ 解决方案

Hi,
try to check following links:
http://msdn.microsoft.com/en-us/library/wc06dx4f.aspx[^]

http://msdn.microsoft.com/en-us/library/zkatshfa[^]

Regards
Robert


nm.nagaraju wrote:

while adding columns to the datagridview through columns collection property, the adding columns window is going to disappear.


What you mean? Just the dialog box disappeared or the generated columns disappeared? If just the dialog box then it would be off screen.

Try this Lost your dialog box off screen?[^]

DataGridView in windows application[^]


这篇关于c#.net中的datagridview的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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