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.
Syncfusion Feedback

format big number to text

Thread ID:

Created:

Updated:

Platform:

Replies:

76386 Sep 4,2008 11:13 AM UTC Sep 10,2008 04:03 AM UTC Windows Forms 4
loading
Tags: XlsIO
xieyun
Asked On September 4, 2008 11:13 AM UTC

hello everybody!i want to export datatable to excel,but the problem appearence.i want format this number "400101000101150104" as text but i tried some method haven't the result.the excel file aways give me the number:4.00101E+17
now what should i do?thanks all~


xieyun
Replied On September 5, 2008 01:35 AM UTC

go on,thanks for your help.

hello everybody!i want to export datatable to excel,but the problem appearence.i want format this number "400101000101150104" as text but i tried some method haven't the result.the excel file aways give me the number:4.00101E+17
now what should i do?thanks all~


Geetha M [Syncfusion]
Replied On September 9, 2008 06:33 AM UTC

Hi,

I hope your issue has been resolved. Please let me know if you have any other concerns.

Regards,
Geetha


xieyun
Replied On September 9, 2008 01:00 PM UTC

thanks for your attention,i solved this problem in the end by the way:xlsWorksheet.ImportDataTable(sourceDt, false, 6, 1, 65535, 20, true);
the last parameter tell xlsio to preserve the type of datatable's.
best wish~


Geetha M [Syncfusion]
Replied On September 10, 2008 04:03 AM UTC

Hi,

Thank you for the update.

Regards,
Geetha


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.

Warning Icon 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.Close Icon

;