Advice needed about how to populate a gridview asynchronously

Discussion in 'ASP .Net' started by Exch, Nov 20, 2010.

  1. Exch

    Exch Guest

    Hi,
    I have a web form in which the user chooses some parameters that will
    be passed to a stored procedure, that performs some complex queries.
    The stored procedure fills some records in a temporary table. The
    gridview in the web form uses these records as source. Sometimes the
    stored procedures runs for a lot of minutes, so the page returns
    timeout errors. I’d like to run this SP and return immediately the
    page with a message that warn the user that the results will be
    displayed as soon as possible. Obviously I should (using javascript?)
    verify the status of the SP, then I should fill the gridview.

    Could you please tell me in which way can I obtain the behaviour I
    want? Should I use webservice?

    thank you
     
    Exch, Nov 20, 2010
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Assaf
    Replies:
    1
    Views:
    522
    Justin Rogers
    Feb 7, 2004
  2. Replies:
    1
    Views:
    1,494
    Andy Peters
    Jul 12, 2005
  3. Pat Friedl

    Using MSXML asynchronously?

    Pat Friedl, Nov 6, 2003, in forum: ASP .Net
    Replies:
    1
    Views:
    361
    Pat Friedl
    Nov 11, 2003
  4. Yi
    Replies:
    3
    Views:
    5,516
  5. Enjoy Life
    Replies:
    2
    Views:
    320
    Roland Hall
    Feb 23, 2005
Loading...

Share This Page