Can't get values from GridView when in the RowDeleting Event

R

ryan.wilkins

I'm new to ASP.NET 2.0 and the gridview control so forgive the dumb
question. I have a BoundField column that I can't seem to get the
value from in the RowDeleting Event.

<asp:BoundField DataField="ServiceId" Visible="False" />

Also, side question. I've had problems with all Invisible BoundField
columns and not getting the data, so I've had to make those columns
visible at runtime and then hide them before the page renders. There
has got to be a better way to do that :).

Thank you for your help.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,763
Messages
2,569,562
Members
45,038
Latest member
OrderProperKetocapsules

Latest Threads

Top