Solved

Datarow state

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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

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

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…
This article describes a simple method to resize a control at runtime.  It includes ready-to-use source code and a complete sample demonstration application.  We'll also talk about C# Extension Methods. Introduction In one of my applications…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

856 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