D
Don Miller
I have a GridView that is dynamically-bound to a class object datasource and
in that GridView is a link button column. This linkbutton displays the
number of "matches" found in a database after a query and users can click on
the link (underlined number) to display the matches. This works fine when
there are "matches" but when no matches in the database are found, what
displays in that GridView column is an underlined zero indicating it can be
clicked (and it can be with of course no dataset displayed).
Is there any way when the DataTextField for a link button is zero to NOT
have the linked value underlined or even active as a link? Thanks.
in that GridView is a link button column. This linkbutton displays the
number of "matches" found in a database after a query and users can click on
the link (underlined number) to display the matches. This works fine when
there are "matches" but when no matches in the database are found, what
displays in that GridView column is an underlined zero indicating it can be
clicked (and it can be with of course no dataset displayed).
Is there any way when the DataTextField for a link button is zero to NOT
have the linked value underlined or even active as a link? Thanks.