Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help displaying leading zero

Status
Not open for further replies.

4345487

Programmer
Dec 31, 2002
132
US

Hi,

I have a text field that is use for the zip code when the field is stored in the database it has a leading zero.
example 01234. The problem happings when I used

Response.ContentType = "application/vnd.ms-excel"

to create a excel report the leading zero don't displays
so the number above displays 1234

any help will be appreciated

Thanks
 
I get it to work doing this


<td>&nbsp;<%=TestRs(&quot;Zip&quot;)%></td>


Thanks for all you help
 


I'm sorry this way


I put a space between the td tag and the valye using the
&quot;nbsp;&quot; like below with out the double quotes

<td>&quot;nbsp;&quot;<%=TestRs(&quot;Zip&quot;)%>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top