New Datagrid Record

jazzscreamer

New member
Joined
Mar 19, 2005
Messages
4
Programming Experience
1-3
Hello,
I'm new to using datagrids and I was wondering if there is a way to insert a new record in a datagrid programatically. Thank you for any help.

Joel
 
You'd add a row to the bound datatable. Like this:

VB.NET:
dim MyRow as datarow = Mydatatable.newrow()
myrow.item(0)="something..."
mydatagrid.rows.add(MyRow)

TPM
 
Back
Top