Cell handling when databinding in a GridView

Discussion in 'ASP .Net Datagrid Control' started by HEM, Aug 23, 2005.

  1. HEM

    HEM Guest

    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
    HEM, Aug 23, 2005
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Sergei Shelukhin
    Replies:
    1
    Views:
    561
    Mark Rae
    Nov 12, 2006
  2. jobs
    Replies:
    0
    Views:
    1,600
  3. Earl Teigrob
    Replies:
    1
    Views:
    394
    Shravan
    Mar 1, 2004
  4. Glenn Owens

    Problem handling DataGrid TemplateColumn Databinding Event

    Glenn Owens, Jul 9, 2004, in forum: ASP .Net Datagrid Control
    Replies:
    1
    Views:
    160
    Glenn Owens
    Jul 12, 2004
  5. Mythran
    Replies:
    3
    Views:
    1,220
    Allen Chen [MSFT]
    Aug 12, 2009
Loading...

Share This Page