We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

Sorting data in a worksheet

Thread ID:

Created:

Updated:

Platform:

Replies:

93172 Mar 1,2010 05:03 AM Mar 1,2010 08:30 AM ASP.NET Web Forms (Classic) 1
loading
Tags: XlsIO
Administrator [Syncfusion]
Asked On March 1, 2010 05:03 AM

Hi everybody,

I 've tried to search in the online documentation without success.

Can we sort data in a worksheet, i have to export data and for many reason i can't sort them or not i would like.

It is possible to specify a column or multiple columns to syncfusion in order to sort data ?

Thanks for your help.

Balamurugan R [Syncfusion]
Replied On March 1, 2010 08:30 AM

Hi Farouk,

Thanks for your interest in Essential XlsIO.

Essential XlsIO does not provide any built-in method for sorting the data. You would need to sort the data yourself before inserting into the spreadsheet. However you can place the data in the data table and sort it. Please refer the following url for more details:

http://msdn2.microsoft.com/en-us/library/system.data.dataview.sort(vs.71).aspx

Finally the sorted DataTable can be imported into the spreadsheet using the IWorksheet.ImportDataTable method of XlsIO.

Kindly let me know if you have any other questions.

Thanks,
Balamurugan

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;