Using a dataset without a connection to a DB

Dear Sirs,

I am creating an application in which I added a dataset containing 4 tables using the VS2005, include new dataset. I am only keeping this dataset to have a nice structure of the tables, and will be filling them out on the fly. However, when I try to create a new row...

DataRow r2 = patternLabDataset.DataTableRankDataTable.

I cant find the new row option. But if I create the entire table manually within my object, then the create new row method appears Please give me some light on this matter.

Cheers,

Paulo Carvalho



Answer this question

Using a dataset without a connection to a DB

  • yosonu

    I generated 2 datasets, one using the Dataset designer, and the other one I coded, following an example in the internet. The one I coded works out fine, but the one using dataset designer wont work. I cant create and insert new table rows.

    Cheers,

    Paulo C.


  • DRoden

    Hello Paulo.

    Seems like you are using Typed DataSet.

    Did you generate the DataSet using DataSet designer

    Please let me know.



  • Using a dataset without a connection to a DB