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.

format big number to text

Thread ID:

Created:

Updated:

Platform:

Replies:

76386 Sep 4,2008 07:13 AM Sep 10,2008 12:03 AM Windows Forms 4
loading
Tags: XlsIO
xieyun
Asked On September 4, 2008 07:13 AM

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 4, 2008 09:35 PM

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 02:33 AM

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 09:00 AM

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 12:03 AM

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.

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.

;