We help IT Professionals succeed at work.

Copy Information from datagridview to dataset or from a datatable to one of the tables in dataset

sandya_116
sandya_116 asked
on
1,291 Views
Last Modified: 2008-04-24
How do I copy information from datagridview to dataset or from a datatable to one of the tables in dataset. Please help. Thanks.
Comment
Watch Question

Commented:
dataset.Table = datatable

Author

Commented:
Table command is not present for dataset. Tables command is present for dataset. When I use
dataset.Tables(0) = datatable, it is giving me an error message "property item is read only"
Commented:
This one is on us!
(Get your first solution completely free - no credit card required)
UNLOCK SOLUTION
Unlock the solution to this question.
Join our community and discover your potential

Experts Exchange is the only place where you can interact directly with leading experts in the technology field. Become a member today and access the collective knowledge of thousands of technology experts.

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.