Solved

export to csv: long numbers automatically converted into scientific notation

Posted on 2011-02-24
2
2,592 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 500 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

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Suggested Solutions

Just a quick little trick I learned recently.  Now that I'm using jQuery with abandon in my asp.net applications, I have grown tired of the following syntax:      (CODE) I suppose it just offends my sense of decency to put inline VBScript on a…
Today is the age of broadband.  More and more people are going this route determined to experience the web and it’s multitude of services as quickly and painlessly as possible. Coupled with the move to broadband, people are experiencing the web via …
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

708 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now