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
 

TPM

Well-known member
Joined
Dec 7, 2004
Messages
623
Location
CA
Programming Experience
3-5
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
 
Top Bottom