How to find: data is updated from dataset

Last post 10-26-2009 10:52 AM by srinivaskotra. 2 replies.

Sort Posts:

  • How to find: data is updated from dataset

    10-26-2009, 8:51 AM
    • Member
      144 point Member
    • sachin_07
    • Member since 12-13-2007, 8:51 AM
    • Pune
    • Posts 84

    Hello,

    I have one DataSet, in that I have 2 DataTable.

    How to find data is updated from those 2 DataTable.


    Thanks in advance.


    Regards,

    Sachin

  • Re: How to find: data is updated from dataset

    10-26-2009, 10:42 AM
    Answer
    • Contributor
      5,041 point Contributor
    • karthicks
    • Member since 01-09-2009, 12:43 PM
    • Chennai
    • Posts 867

    use below code

    if

    (dataSet.Tables[0].Rows[0].RowState == DataRowState.

    Modified)

    {

    }

     

     

     

    If this post is useful,
    Please,Dont Forget to click Mark As Answer and Earn Your Point

    Thanks,
    Karthick S
    Celebrate Programming
  • Re: How to find: data is updated from dataset

    10-26-2009, 10:52 AM
    Answer

    hi,

    you can use rowstate property. here is the example

    http://www.gammatwo.com/2009/08/14/net-2-0-serialize-and-deserialize-dataset-with-row-state/

    Thanks :)



    Remember to click “Mark as Answer” on the post, if it helps you. Because It helps others to find the solution.

    Srinivas Kotra.


Page 1 of 1 (3 items)