PatelNehal4u
Active member
- Joined
- Apr 6, 2009
- Messages
- 25
- Programming Experience
- 1-3
Hello Everyone,
I am new to ADO.net and still learning vb.net. Right now i am learning ado.net and use of it with windows forms. But now i am confused with one method in tableadapter configuration wizard, which is created at second last step of wizard. In wizard it create two methods :
1. Fill a datatable
Method Name : Fill()
2. Return a datatable
Method Name : GetData()
So if fill() method brings all the data from the database and populate the dataset, why we need another GetData() method. I read many books and online articles but still not cleared visually. Some one please clear me. If explanation is visually or graphically it would be better. Thanks in advance.
I am new to ADO.net and still learning vb.net. Right now i am learning ado.net and use of it with windows forms. But now i am confused with one method in tableadapter configuration wizard, which is created at second last step of wizard. In wizard it create two methods :
1. Fill a datatable
Method Name : Fill()
2. Return a datatable
Method Name : GetData()
So if fill() method brings all the data from the database and populate the dataset, why we need another GetData() method. I read many books and online articles but still not cleared visually. Some one please clear me. If explanation is visually or graphically it would be better. Thanks in advance.