Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Datarow state

Posted on 2006-11-09
3
Medium Priority
?
313 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 1000 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Introduction This article series is supposed to shed some light on the use of IDisposable and objects that inherit from it. In essence, a more apt title for this article would be: using (IDisposable) {}. I’m just not sure how many people would ge…
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…
Look below the covers at a subform control , and the form that is inside it. Explore properties and see how easy it is to aggregate, get statistics, and synchronize results for your data. A Microsoft Access subform is used to show relevant calcul…
Suggested Courses

926 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