I am new to asp.net and know little bit about its working and as I am moving forward I am getting new and more newer doubts.
Here at this point I was working with two RadioLists
that are being binded at page load.
Now when a user changes the index of radio button in list 1. Second needs to get updated accordingly depending what value is currently set for selected radio button.
Since the page will be posted back hence I either need to fire a query again to get new data from DataBase for currently selected index or can store 2-3 tables in session
in form of Dataset
.
What should I do in such scenario. Should I fire an sql query again or retrieve DataSet from Session.
What is the most optimal approach for this. And WHY ?