Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > RowState how to check it ?

Thread Tools

RowState how to check it ?

Posts: n/a
I have GridViewEventArgs e. And this e.Row.RowState returns current state.
I woudl like to check if e.Row.Rowstate == ...Edit; But the problem is
Rowstate is something like this : Alternate|Edit and on the next row will be
only Edit. How to check in this case for edit state? If I just check if
rowState == ...Edit it works only on rows that aren't alternate rows. Do I
have to check twice for Edit and for Alteranate|Edit ? Is there any simple
way to check once for both conditions ? I make check for EditIndex so it
works always but I want to know how should I check for rowState in this

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: How include a large array? Edward A. Falk C Programming 1 04-04-2013 08:07 PM
q; DataSet RowState unchanged =?Utf-8?B?SklNLkgu?= ASP .Net 1 05-24-2006 09:41 PM
To get the total no[count] of rows in a daatable with rowstate deleted thomson ASP .Net 1 06-11-2005 02:03 PM
Autoincrement / Rowstate problems =?Utf-8?B?TmVpbA==?= ASP .Net 0 10-15-2004 11:35 AM
About Rowstate and AutoIncrement fatboycanteen ASP .Net 0 12-12-2003 02:56 AM