Hiding Content within a Gridview's Itemtemplate field
Posted on 2006-10-20
I have a Gridview which is databound to a SQL DB table. One of the columns within my SQL table is called LINK and it contains an ID for each record. What I want to do within a Gridview column is be able to provide an ASp:Hyperlink with the ID appended as a query string which I can do no problem.
BUT!... How could I hide the ASP:Hyperlink if an ID isn't supplied?