Hi,
Sorry for the delay, any how!
Create a new project, add a DataGrid and a button. Put the following code in the button:-
<<<< Start Code >>>>
Dim MyDataSet As New DataSet("MyDataSet")
Dim MyDataTable As New DataTable("MyDataTable")
DataGrid1.ColumnHeadersVisible = True
DataGrid1.DataSource = MyDataTable
MyDataTable.Columns.Add("User ID")
MyDataTable.Columns.Add("User Name")
MyDataTable.Columns.Add("Location")
Dim NewRow As DataRow = MyDataTable.NewRow
NewRow(0) = "CEO"
NewRow(1) = "Carl E. Ogden"
NewRow(2) = "Manchester, England"
MyDataTable.Rows.Add(NewRow)
<<<< End of Code >>>>
I know this is really simple but it works and youll be able to adapt it to your requirements!
Id recommend making the grid read only, this stops users from editing the grid direct and then do what you need to so that you can alter the data.
Hope this helps,
Carl.