Datarow state

What is the way to find out that datarow is a new row ?

psokoloAsked:
Who is Participating?
 
Expert1701Connect With a Mentor Commented:
I think you got it!

  DataRow row = ...;
  if(row.RowState==DataRowState.Added)
    //New Row
0
 
psokoloAuthor Commented:
Quick answer, quick points.

Thanks
0
 
Expert1701Commented:
Thank you, psokolo!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.