MS VS GridView

Posted on 2007-08-08
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

    Define an EmptyDataTemplate that will display when there are no records.


    Featured Post

    Maximize Your Threat Intelligence Reporting

    Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

    Join & Write a Comment

    Having an SQL database can be a big investment for a small company. Hardware, setup and of course, the price of software all add up to a big bill that some companies may not be able to absorb.  Luckily, there is a free version SQL Express, but does …
    Slowly Changing Dimension Transformation component in data task flow is very useful for us to manage and control how data changes in SSIS.
    Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…
    Viewers will learn how to use the SELECT statement in SQL to return specific rows and columns, with various degrees of sorting and limits in place.

    728 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

    Need Help in Real-Time?

    Connect with top rated Experts

    19 Experts available now in Live!

    Get 1:1 Help Now