开发者

how to fill datagridcombobox in vb.net

Dim n As Integer = DataGridView1.Rows.Add()
For Each dsrow2 As DataRow In dslocal2.Tables(0).Rows
    DataGridView1.Rows.Item(n).Cells(0).Value = dsrow2.Item("Sl开发者_运维百科no").trim
    DataGridView1.Rows.Item(n).Cells(1).Value = dsrow2.Item("Prodcode").trim
    DataGridView1.Rows.Item(n).Cells(2).Value = dsrow2.Item("Remarks").trim
Next

This code is giving an error related to datagridcombobox.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜