To Append data in Dataset RRS feed

  • Question

  • Hi i am having a temp dataset

    How to append data to that dataset at second time button click event

    Monday, March 19, 2012 6:59 AM


  • Hi,

    DataSet contains at least one table.

    Assuming you have only one table in your dataSet,

    you can do like this:

    myDataSet.Tables[0].Rows.Add(col1Value, col2Value,...);


    MCTS - TFS 2010
    My Blog: http://benjaminet.wordpress.com

    • Marked as answer by Kee Poppy Monday, March 26, 2012 3:17 AM
    Monday, March 19, 2012 7:13 AM