enter image description here

I have added a gridview in my Visual Studio project. The gridview is set to visible. After deploying the project the GridView is not displayed, but I don't know why. What can be the problem? I feel really confused.

1 Answer 1


Are you binding any data to the grid view ?

gridView1.Datasource = MyDs/MtTable...


If you are using any UpdatePanels with UpdateMode = Conditional, then after above code, use


Is your data source having any records ?

You can check the source.Rows.count (or similar properties)

Did you set AutoGenerateColumns ?

Try adding custom columns

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.