Advertisement

05.16.2008 at 09:36AM PDT, ID: 23408913
[x]
Attachment Details

Convert value in excel spreadsheet to string

Asked by weimha in Microsoft Visual C#.Net, Windows Forms for .Net

Tags: C#, excep spreadsheet

I have a CSV file that I am filling into a dataset and displaying in a datagridview in C#.  This is working fine except a have a field that has a value of 185.215.5518 that is displayed only as 185.215.  It thinks this is  a decimal field.  I want it to be displayed just as it is.  How can I do that?Start Free Trial
[+][-]05.16.2008 at 11:01AM PDT, ID: 21585013

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.16.2008 at 11:16AM PDT, ID: 21585123

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Microsoft Visual C#.Net, Windows Forms for .Net
Tags: C#, excep spreadsheet
Sign Up Now!
Solution Provided By: Joruus10
Participating Experts: 1
Solution Grade: A
 
 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628