asp.net 1.1 datagrid sort event

F

Fred

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
 
A

Anmol

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.
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top