xpertwinner
Member
- Joined
- Dec 26, 2008
- Messages
- 24
- Programming Experience
- Beginner
Is it possible to access the dataset information without actually creating a datagridview associated to that table?
I have a dataset with various tables, but i only want to show some tables based on SQL. However, i need to access other tables in dataset.
If I try to acess the dataset as in Dataset.Table.Rows.... i get the message "reference to non-shared member requires an object reference". However, since it is created in a Form, if I type Form.Dataset.Rows... I don't get any error, but the tables which aren't associated to any datagridview in that form return rowcount=0.
Thanks in advance
I have a dataset with various tables, but i only want to show some tables based on SQL. However, i need to access other tables in dataset.
If I try to acess the dataset as in Dataset.Table.Rows.... i get the message "reference to non-shared member requires an object reference". However, since it is created in a Form, if I type Form.Dataset.Rows... I don't get any error, but the tables which aren't associated to any datagridview in that form return rowcount=0.
Thanks in advance