Dynamically changing GridView row (ASP.NET,C#)

Fcnkjhepuz

New Member
I have a GridView that needs to display either x amount of columns from the GridView, or just one column (cell) which will expand to take up the entire row. Deciding which to display is done by checking if that one column is blank or not - if it is blank, display the other cells, or if not, just display that one cell.How would I go about doing this? I'm using an SqlDataSource to select the contents of the GridView but I'm willing to change this for a more programmatic approach.Thanks
 
Back
Top