hi i have one requirment
in my page iam having dropdownlist,gridview.gridview is filled based on the selectedvalue of dropdown,when i select one value(assume 10) in dropdown some values comes into gridview,when i select same value from dropdown(i.e 10),my requirment is once again request will go to server and fill the gridview(is it possible,if any body knows answer please telme)

1 answers
u mean is it possible to cancel double requests?
You can do it manually by setting a flag for requests from the dropdown holding the selected index. so when the user select the index from a dropdown the index is stored in this flag, when the user try selecting it again it won't query since its already stored in the flag. When the user edit the grid or change the db the flag is set back to -1 so the user can reselect the same index in order to reload the new data. but keeping the double request is needed if the application is a multiuser application and it won't cost the server much. Beside that, try making stored procedure, if the db is mssql2005, since the dbms can manage the double sp request automatically by itself.
answered 2 years ago by:
1556
thanks for giving the response
can u explain breiefly with little bit coding
answered 2 years ago by:
0
This post was imported from csharpfriends, if you have a similiar question please ask it again.
All previous members have been migrated, hope you enjoy the new platform!