SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

share|improve this question

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

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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