-----------------------------------------------------------

New Message on BDOTNET

-----------------------------------------------------------
From: cool_vjy
Message 1 in Discussion

Hi, Please help! I am opening a new window that contains an Excel spreadsheet. The 
first column is a 13 digit identification number. 
This number can start with a zero. My problem is that when the data is displayed in 
the Excel window will display as 89615670000 when 
it should display as 0089615670000. I can get the data to display correctly if I 
append a ' (upporstroph) before the number.
However the ' displays in the data ('0089615670000). How can I fix this? I have tried 
several different things but nothing is working. my problem, i m not able to set the 
content type of  the column, Actually i am storing my data in a datagrid and through
response.ContentType = "application/vnd.ms-Excel"
I am generating the excel file and when i am generating th excel file that time how do 
i store the zipcode as text can one tell me.
Actually in excel when u start any number starting with zero and preced with ' then it 
store as text the same thing i m 
doing also but along with the number its showing the single quote also, that only 
happens when i am genrating through my code. Can any one help me out in this Regards 
vijay dubey

-----------------------------------------------------------

To stop getting this e-mail, or change how often it arrives, go to your E-mail 
Settings.
http://groups.msn.com/bdotnet/_emailsettings.msnw

Need help? If you've forgotten your password, please go to Passport Member Services.
http://groups.msn.com/_passportredir.msnw?ppmprop=help

For other questions or feedback, go to our Contact Us page.
http://groups.msn.com/contact

If you do not want to receive future e-mail from this MSN group, or if you received 
this message by mistake, please click the "Remove" link below. On the pre-addressed 
e-mail message that opens, simply click "Send". Your e-mail address will be deleted 
from this group's mailing list.
mailto:[EMAIL PROTECTED]

Reply via email to