MS VS GridView

Posted on 2007-08-08
Medium Priority
Last Modified: 2013-11-26
I am using MS Visual Studio and Grid View and DetailsView.
Everything works fine except that I have to load a dummy record in the MS SQL2005 table befor the GridView1 and DetailsView1will display on the monitor screen. Does anyone know how to get the  GridView1 to show without having to load a dummr record????
Question by:djc916
1 Comment
LVL 96

Accepted Solution

Bob Learned earned 375 total points
ID: 19655015
Define an EmptyDataTemplate that will display when there are no records.


Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

What if you have to shut down the entire Citrix infrastructure for hardware maintenance, software upgrades or "the unknown"? I developed this plan for "the unknown" and hope that it helps you as well. This article explains how to properly shut down …
Ready to get certified? Check out some courses that help you prepare for third-party exams.
Viewers will learn how the fundamental information of how to create a table.
Viewers will learn how to use the SELECT statement in SQL and will be exposed to the many uses the SELECT statement has.
Suggested Courses

864 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question