none
Using a dataset without a connection to a DB RRS feed

  • Question

  • 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

    Monday, January 29, 2007 5:32 AM

All replies

  • Hello Paulo.

    Seems like you are using Typed DataSet.

    Did you generate the DataSet using DataSet designer?

    Please let me know.

    Monday, January 29, 2007 5:56 AM
  • 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.

    Monday, January 29, 2007 7:15 PM