Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Datagrid Control > Determining row that caused an ItemCommand

Reply
Thread Tools

Determining row that caused an ItemCommand

 
 
William Gower
Guest
Posts: n/a
 
      04-27-2004
I have an Edit button on a datagrid. When the edit button is clicked, how
do i know which row is the one where the button was clicked?


 
Reply With Quote
 
 
 
 
Rick Spiewak
Guest
Posts: n/a
 
      04-29-2004
You get the item (row) in e.item. If you want to refer it back to the
underlying datasource, use e.item.datasetindex.

"William Gower" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> I have an Edit button on a datagrid. When the edit button is clicked, how
> do i know which row is the one where the button was clicked?
>
>



 
Reply With Quote
 
 
 
Reply

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
problem in running a basic code in python 3.3.0 that includes HTML file Satabdi Mukherjee Python 1 04-04-2013 07:48 PM
Determining control that caused a postback =?Utf-8?B?ZGNoaWxsbWFu?= ASP .Net 4 10-19-2005 12:28 PM
Determining What Control Caused The PostBack Nathan Sokalski ASP .Net Datagrid Control 4 09-05-2005 10:42 PM
Determining What Control Caused The PostBack Nathan Sokalski ASP .Net 5 09-05-2005 10:42 PM
Determining if a textbox control caused a postback RTM ASP .Net 4 01-20-2004 05:49 PM



Advertisments