Solved

Datarow state

Posted on 2006-11-09
3
298 Views
Last Modified: 2010-04-16
What is the way to find out that datarow is a new row ?

0
Comment
Question by:psokolo
  • 2
3 Comments
 
LVL 11

Accepted Solution

by:
Expert1701 earned 250 total points
ID: 17910061
I think you got it!

  DataRow row = ...;
  if(row.RowState==DataRowState.Added)
    //New Row
0
 

Author Comment

by:psokolo
ID: 17910119
Quick answer, quick points.

Thanks
0
 
LVL 11

Expert Comment

by:Expert1701
ID: 17910131
Thank you, psokolo!
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Suggested Solutions

Article by: Ivo
C# And Nullable Types Since 2.0 C# has Nullable(T) Generic Structure. The idea behind is to allow value type objects to have null values just like reference types have. This concerns scenarios where not all data sources have values (like a databa…
In order to hide the "ugly" records selectors (triangles) in the rowheaders, here are some suggestions. Microsoft doesn't have a direct method/property to do it. You can only hide the rowheader column. First solution, the easy way The first sol…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

706 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now