Hi,
I added a row to the datagridview with following codes:
Dim drx As DataRow
drx = _DataSet.Tables(0).NewRow
drx.Item(0) = 1
drx.Item(1) = id
...
_DataSet.Tables(0).Rows.Add(drx)
I want my datagirdview automatically selected this new row right after the codes above. How can this be done?
Thanks in advance.
I added a row to the datagridview with following codes:
Dim drx As DataRow
drx = _DataSet.Tables(0).NewRow
drx.Item(0) = 1
drx.Item(1) = id
...
_DataSet.Tables(0).Rows.Add(drx)
I want my datagirdview automatically selected this new row right after the codes above. How can this be done?
Thanks in advance.