F
Flomo Togba Kwele
I am using a BindingSource whose DataSource is a typed DataSet. The data
is displayed in a DataGridView. Not all of the columns in the Datatable
are visible.
When a new row is inserted, I need to use the AddingNew method of the
BindingSource in order to place values in the hidden columns for that
newly created row.
I do not know what the 'underlying type' is for the dataset. The
following blows up at the last line because it is not. So a typed
DataRow is not the correct type. What is?
Dim row As dsFirstName.FirstNameRow = Nothing
row = DsCullFirstName.FirstName.NewFirstNameRow
row.ClientID = Tools.ClientID
row.dateAdded = Today
e.NewObject = row
Thanks for the help.
is displayed in a DataGridView. Not all of the columns in the Datatable
are visible.
When a new row is inserted, I need to use the AddingNew method of the
BindingSource in order to place values in the hidden columns for that
newly created row.
I do not know what the 'underlying type' is for the dataset. The
following blows up at the last line because it is not. So a typed
DataRow is not the correct type. What is?
Dim row As dsFirstName.FirstNameRow = Nothing
row = DsCullFirstName.FirstName.NewFirstNameRow
row.ClientID = Tools.ClientID
row.dateAdded = Today
e.NewObject = row
Thanks for the help.