Posted on: 4/18/2015 11:20:49 AM | Views : 603

Hi

I am having a problem where a gridview does not display on a web form. This is simple to replicate:

1. create a new web forms application
2. add a web form 'default.spx'
3. from the toolbox, drag a gridview to the page
4. run internet explorer.

I get a blank form. I have read some comments on the web that you need to apply a datasource in order to see something
so i created a simplete datatable in the code behind (page load) and appplied this to gridview1.datasource = mydatatabel and i did gridview1.bind
I created a column that matches the column name in the datatable
I also set visible to true
I can see the gridview in the designer
I have no idea whats happening. I could post the code, if anyone wants to see it, but it is very simple stuff to replicate

Thanks for your help

Chris



Go to the complete details ...