Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

export to csv: long numbers automatically converted into scientific notation

Posted on 2011-02-24
2
Medium Priority
?
3,018 Views
Last Modified: 2012-05-11
Hi,

I am export a datatable from asp.net page to csv file. One column in datatable is long number. But in the exported csv, it is always displayed as scientific notation. How can i enforce it to be displayed as normal number?

thx
0
Comment
Question by:viola123
2 Comments
 
LVL 14

Accepted Solution

by:
quizwedge earned 2000 total points
ID: 34975664
Try looking at the second to last comment at http://www.telerik.com/community/forums/aspnet-ajax/grid/export-to-excel-prventing-long-numbers-from-scientific-notation.aspx

Alternatively, you can put an apostrophe before the numbers, which would convert it to text and prevent it from being displayed as scientific notation.
0
 
LVL 11

Expert Comment

by:Sudhakar Pulivarthi
ID: 34978220
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

User art_snob (http://www.experts-exchange.com/M_6114203.html) encountered strange behavior of Android Web browser on his Mobile Web site. It took a while to find the true cause. It happens so, that the Android Web browser (at least up to OS ver. 2.…
Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …
This Micro Tutorial will teach you how to add a cinematic look to any film or video out there. There are very few simple steps that you will follow to do so. This will be demonstrated using Adobe Premiere Pro CS6.
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question