asp.net 1.1 datagrid sort event

Discussion in 'ASP .Net' started by Fred, Jan 9, 2006.

  1. Fred

    Fred Guest

    hi, in my forms i have a few grids w/ sorting, everytime a grid is
    sorted, i must make new queries to the database to fill all the grids
    and initialize all the other controls on the page, it`s working but
    doesn`t seem efficient, is there some other way of doing it?

    TIA
     
    Fred, Jan 9, 2006
    #1
    1. Advertising

  2. Fred

    Anmol Guest

    Once getting all the data from the Database on Page load, store the
    dataview in the ViewState. On the sort command, fill the DataView
    object from the view state.
     
    Anmol, Jan 9, 2006
    #2
    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. =?Utf-8?B?c3Jpbmk=?=

    RE: ASP.Net DataGrid Sort event problems

    =?Utf-8?B?c3Jpbmk=?=, May 13, 2004, in forum: ASP .Net
    Replies:
    0
    Views:
    481
    =?Utf-8?B?c3Jpbmk=?=
    May 13, 2004
  2. =?Utf-8?B?c3Jpbmk=?=

    RE: ASP.Net DataGrid Sort event problems

    =?Utf-8?B?c3Jpbmk=?=, May 13, 2004, in forum: ASP .Net
    Replies:
    0
    Views:
    462
    =?Utf-8?B?c3Jpbmk=?=
    May 13, 2004
  3. avnrao
    Replies:
    0
    Views:
    555
    avnrao
    May 13, 2004
  4. =?Utf-8?B?dHNhcm5h?=

    RE: ASP.Net DataGrid Sort event problems

    =?Utf-8?B?dHNhcm5h?=, Jun 18, 2004, in forum: ASP .Net
    Replies:
    0
    Views:
    2,562
    =?Utf-8?B?dHNhcm5h?=
    Jun 18, 2004
  5. Navin
    Replies:
    1
    Views:
    762
    Ken Schaefer
    Sep 9, 2003
Loading...

Share This Page