Advertisement

07.13.2008 at 10:30AM PDT, ID: 23560998
[x]
Attachment Details

Need to format a column text in excel using C#. Easy question.

Asked by mathieu_cupryk in Visual Studio .NET 2005

I have the following:

 excelWorkSheet.Cells[count, 4] = dr.ItemArray[0].ToString();        
In dr.ItemArray[0].ToString();            there is 01
but when I see it in the excel it shows 1.

How can I fix this?
           
Start Free Trial
 
Loading Advertisement...
 
[+][-]07.14.2008 at 02:33AM PDT, ID: 21996703

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

Zone: Visual Studio .NET 2005
Sign Up Now!
Solution Provided By: wernerteun
Participating Experts: 1
Solution Grade: A
 
 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628