Storing the sorted order of records in an object

2 replies. Last post: October 17, 2012 9:14 PM by Yudi
Tags :
  • (None)
  • New Discussion
  • New Question
  • New Product Feedback
Madhavan GMember

Hi ALL,

We have a webgrid with classic paging enabled.Say we have columns Name,Type,DataProvider.Say the grid is having 20 rows with Pagingsize is 10.There will be two pages.

 

Now i have done the sorting Based on the Name.Now we want to store the Sorted order of records in an external object.

I want to loop through the webgridrows.

foreach (ISNet.WebUI.WebGrid.WebGridRow wgRow in webgridUsers.RootTable.Rows)

{

string name=wgRow.Cells[0].Text;

List<UserSelectedTags> tagRequests = new List<UserSelectedTags>();          

tagRequests.Add(new UserSelectedTags {name,type,dataprov });

}

 

We are getting the rows count for the first page loaded rows.We need to loop through all the rows.How we will achieve this?

 

Regards,

Madhavan

 

 

 

All times are GMT -5. The time now is 8:33 PM.
Previous Next