I am using a bound datagrid, and I need to set some values in a new row when the user clicks a button. How do I get the handle (or index) of the new row so I can set the values?
Thanks!
Printable View
I am using a bound datagrid, and I need to set some values in a new row when the user clicks a button. How do I get the handle (or index) of the new row so I can set the values?
Thanks!
Dim objNewRow as DataRow
objNewRow = objTable.NewRow()
objNewRow("Author") = "William T"
objNewRow("Title") = "Develop Distributed Applications with Notepad"
objTable.Rows.Add(objNewRow)
hth