S
SH
How do I add a new DataRow to a typed DataSet?
I would expect the following code to work:
Dim drCustomer As NorthwindDataSet.CustomerRow
drCustomer = NorthwindDataSet.CustomersDataTable.NewCustomersRow
drCustomer.CompanyName = "xxx"
But the NewCustomersRow method is not valid. It doesn't even come up in
IntelliSense.
The database is in SqlServerCe (for PDAs), but that shouldn't make a
difference.
Thanks for any assistance.
I would expect the following code to work:
Dim drCustomer As NorthwindDataSet.CustomerRow
drCustomer = NorthwindDataSet.CustomersDataTable.NewCustomersRow
drCustomer.CompanyName = "xxx"
But the NewCustomersRow method is not valid. It doesn't even come up in
IntelliSense.
The database is in SqlServerCe (for PDAs), but that shouldn't make a
difference.
Thanks for any assistance.