locked
Page_Load 1 load desing 2 load sql RRS feed

  • Question

  • User-1763060630 posted
       protected void Page_Load(object sender, EventArgs e)
        {
            1. I step installation of the web page design.
            2. I would like to run the sql in step.
    
        }
    
          protected void Page_Load(object sender, EventArgs e)
        {
            1. I step installation of the web page design.
            
            System.Threading.Thread.Sleep(3000);
            2. I would like to run the sql in step.
            select * from table .....
    
        }
    Thursday, September 29, 2011 3:53 AM

All replies

  • User-1892098316 posted

    You only have one Page_load () per page.  In the page_load you could do inline coding for the two steps or just have a function for each step

    Tuesday, February 28, 2017 9:21 PM