Solved

Datarow state

Posted on 2006-11-09
3
301 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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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…
Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

803 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