标题:我的datagridview添加不进去数据。
取消只看楼主
trovar
Rank: 1
等 级:新手上路
帖 子:16
专家分:0
注 册:2009-12-25
结帖率:20%
已结贴  问题点数:10 回复次数:0 
我的datagridview添加不进去数据。
Me.dataset.Tables(0).Rows.Add()
        Dim i = Leibiedata.Tables(0).Rows.Count
        Me.DataGridView1.Rows(i - 1).Cells(1).Value = txbnum.Text
        Me.DataGridView1.Rows(i - 1).Cells(2).Value = txbname.Text
        DataGridView1.DataSource = Me.Leibiedata.Tables(0)
我的代码应该没什么不对 但是就是增加不了行。
搜索更多相关主题的帖子: datagridview 数据 
2010-03-09 14:02



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-298901-1-1.html




关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 1.239353 second(s), 8 queries.
Copyright©2004-2025, BCCN.NET, All Rights Reserved