且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何从网格视图中获取标签中的数据?

更新时间:2022-05-20 03:20:56

你使用过:你的label = datagridview.Rows [你的列索引] .Cells [cell] .value ??
did you use: your label= datagridview.Rows[your column index].Cells[cell].value ??


'For t As Integer = 0 To GridView1.Rows.Count - 1

'Label1.Text = GridView1.Rows(t).Cells(v1).Text



'Next





这是我的第一个解决方案........:)
'For t As Integer = 0 To GridView1.Rows.Count - 1
' Label1.Text = GridView1.Rows(t).Cells(v1).Text

'Next


here is my first solution........ :)