isPostBack as Query Parameter
        Posted  
        
            by Steven
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Steven
        
        
        
        Published on 2010-04-27T22:33:03Z
        Indexed on 
            2010/04/27
            22:43 UTC
        
        
        Read the original article
        Hit count: 386
        
I created an ASPX page with search controls to the left bound as controls for an AccessDataSource.
I want the data grid to be blank on the first calling of the page, but show the results for subsequent page loads.
I plan to achieve this by putting [pFirstRun] = False as my first WHERE condition with the parameter pFirstRun tied to the value isPostBack.  How do I achieve this?
Alternatively, is there a better way to achieve this goal?
© Stack Overflow or respective owner