My problem is that when i try to insert a GridView in ASP.NET webpage it doesn’t appear in the Browser.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You need to bind data to it for it to display. No data and it will not display anything.
Try this (assuming you have
AutoGenerateColumnson):If you still get no data, check to see that the control’s
Visibleproperty is not set tofalse. Also make sure that no parented controls that theGridViewis contain in are set to hidden as well.You can also try setting the
EmptyDataTextproperty on yourGridView:EDIT: (based on comment)