Cell handling when databinding in a GridView

H

HEM

I have a table with some url's (e.g. MyLinks.)
In the database, the table has a field "AllowDelete".

The grid is set up with two columns. One that displays the link as a
hyperlink, and one delete button.
While binding the gridview to the dataset, I want to check (for each row) if
it is allowed to delete the link. If it is not allowed, I would like to
disable or hide the delete button for that link (row).

How can I accomplish this?

Henrik
 

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,744
Messages
2,569,482
Members
44,900
Latest member
Nell636132

Latest Threads

Top