Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
LinkButton in DataGrid
Message
 
To
20/10/2003 12:04:12
Mindy Shingara
Central Susquehanna Intermediate Unit
Lewisburg, Pennsylvania, United States
General information
Forum:
ASP.NET
Category:
WebForms
Miscellaneous
Thread ID:
00840336
Message ID:
00840472
Views:
21
>Hi!
>Column 1 of my datagrid is a "Select" linkbutton that allows the user to select a datarow and link to another page. I set default all my grids to show 15 rows, so if datarows < 15, it adds the remaining "blank" rows. I see the "Select" linkbutton on ALL rows even if they're blank rows. How do I code the linkbutton to only display if there is data within the row??
>**This is a webform accessing a fox-pro backend using vb.

You will probably need to setup templates for the Datagrid, if you don't want to display the select if the row has no data. You may want to look into DataList or Repeater, as well.

Morgan
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform