Author: drpcken | Posted on: 7/2/2008 8:07:21 PM | Views : 282

I created some StronglyTyped DataTables for all my tables in SQL with methods to call them.  I had the idea that I would create a DataSet and call the methods to bind to the dataset and then use said dataset to populate my controls.  I was almost there (haha) but now I'm getting an error when binding the dataset.  But I'm getting an error that I "Cannot implicitly convert type 'BenefitData.ContactTypesDataTable' to 'System.Data.DataSet' ".  I understand what it means but I don't know any other way to fill a dataset unless I manually write a string to query my database, but then that makes all the time I spent creating the Strong Type TableAdapters irrelivant.
What can I do?

 Here is my code:
 
1 public void fetchContactTypes()
2 {
3 DataSet ds;
4 ...

Go to the complete details ...