tags:

views:

13

answers:

0

hi, i know how to sort the data that is coming from query.But i want to sort data which is coming from session. For sorting the data that is coming from query,i am sending sidx and sord as

    string query = AppConstants.strAdminSelectCat;//this is query where i am using order by {0} {1} for sorting
             string sqlString = string.Format(query, sidx, sord);
            dsSelectProduct = execDatasetSelectByKey(sqlString);

But for one of my jqgrid i am getting data through session.How can i sort this. hope you understand my problem