Hi,
I am working on ASP.NET 2.0 application with c# language.
Can anyone tell me which is the best way of the following : scenario: I need to get data from the database and bind it to the grid view.
case 1: I can use a stored procedure(for iteraing the result which is obtained from the basic query and do operations on this result set) for getting the final result.
case 2: I can get the result ( obtained from the basic query) and do the iteration and operations in the code behind file.
Please let me know which case is best way of good programming.
Thanks Rupa