MattA Level: Whizz Kid
 Registered: 13-08-2003 Posts: 15
|
Leading Zeros
I am creating a page which contains a table with numeric values and by using the following code
Response.ContentType = "application/vnd.ms-excel"
Response.Charset = ""
Me.EnableViewState = False
Dim tw As New System.IO.StringWriter
Dim hw As New System.Web.UI.HtmlTextWriter(tw)
PlaceHolder1.RenderControl(hw)
Response.Write(tw.ToString)
Response.End()
I am displaying the information in excel format. The problem is any leading zeros are not displayed. Any help would be gratefully received.
|