if you have bound the grid,

use

e.Item.DataItem

If you used a table or view as the data source this will return a 
DataRowView object

that contains the data in the row.

Dim drv as DataRowView = e.Item.DataItem

On 10/18/05, Mike Appenzellar <[EMAIL PROTECTED]> wrote:
> I have a dataGrid and its only purpose is to display a list of files with a
> delete link next to each record. I can display and delete records fine, but
> my problem is that I want to be able to grab the contents of the record
> before I delete it. The only examples I see have you setting
> e.Item.FineControl("record") to a textbox first, but I am not using a text
> box because I am not editing anything. How can I get the contents of that
> record?
>
>
> [Non-text portions of this message have been removed]
>
>
>
>
>
> Yahoo! Groups Links
>
>
>
>
>
>
>
>
>


--
Dean Fiala
Very Practical Software, Inc
http://www.vpsw.com


------------------------ Yahoo! Groups Sponsor --------------------~--> 
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/saFolB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 




Reply via email to