如何动态地在datagridview中添加行 [英] how to add rows in datagridview at dynamically

查看:91
本文介绍了如何动态地在datagridview中添加行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

outofindex异常抛出

outofindex exception to be throw

推荐答案

请检查以下链接,在网格中添加空行..希望这就是你要找的..



http:// www.dotnetspider.com/forum/160519-Dynamically-adding-empty-rows havenGridView.aspx [ ^ ]



请尝试添加示例代码并提出问题..
Please check the following link to add empty rows in grid.. hope this is what you are looking for..

http://www.dotnetspider.com/forum/160519-Dynamically-adding-empty-rows-DataGridView.aspx[^]

Please try to add sample code with your questions..


您好,



您可以创建datagridviewrow对象,然后以编程方式添加相应的列值。为了准确告诉我你的实际代码是什么?
Hi,

You can create datagridviewrow object and then add corresponding column values programmatically. For telling it precisely tell me how your actual code is?


这篇关于如何动态地在datagridview中添加行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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