kfirba
Well-known member
- Joined
- Dec 29, 2012
- Messages
- 77
- Programming Experience
- 1-3
Hello!
Let's say I got a dataset named TestDataSet and I want to use this DataSet in another 3 forms. When I drag a GridView on other form than the main, it automatically creates BindingSource, DataSet TableAdaper and etc.
If I update the new DataSet that has been created by the wizard when I dragged the GridView , will it update the Dataset that I have on the main form?
for example:
MainForm has a DataSet named TestDataSet.
SubForm has a DataSet named TestDataSet1.
Whenever I add a record, delete a record and etc. at TestDataSet1 or TestDataSet will it update the information to the other DataSet? If not, is there any way to do it? Because working with the wizard, saves LOT time and it's much easier than typing the code. By dragging a GridView, the wizard does everything for me! creates a BindingSource, DataSet, BindingNavigator, Adapters and sets their attributes, that's really helpful! especially when you are dragging a GridView that has a relationship with another table, that automatically uses a query without me doing anything.
I hope it's possible!
Thanks in advance!
Let's say I got a dataset named TestDataSet and I want to use this DataSet in another 3 forms. When I drag a GridView on other form than the main, it automatically creates BindingSource, DataSet TableAdaper and etc.
If I update the new DataSet that has been created by the wizard when I dragged the GridView , will it update the Dataset that I have on the main form?
for example:
MainForm has a DataSet named TestDataSet.
SubForm has a DataSet named TestDataSet1.
Whenever I add a record, delete a record and etc. at TestDataSet1 or TestDataSet will it update the information to the other DataSet? If not, is there any way to do it? Because working with the wizard, saves LOT time and it's much easier than typing the code. By dragging a GridView, the wizard does everything for me! creates a BindingSource, DataSet, BindingNavigator, Adapters and sets their attributes, that's really helpful! especially when you are dragging a GridView that has a relationship with another table, that automatically uses a query without me doing anything.
I hope it's possible!
Thanks in advance!