By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,081 Members | 2,118 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,081 IT Pros & Developers. It's quick & easy.

How do you update a dataset.datatable after changed made to a datagrid control

P: n/a
Hi,

I added a datagrid. When the user make changes to the cells, the
datatable was updated with the new values. I need to update the
dataset.datatable with the current datatable, but an error occurs, that
the System.Dat.DataTableCollection.this[string] cannot be assigned to
- it is read only. How do I update the main dataset with the new
database.

Here is my current code
m_dsForm.Tables[Form1] = dtCurrentForm;
Thanks.

Aug 9 '06 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.