A
Alessandro
Hi !
I have a table on an aspx page and i want to export its rows into an Excel
File, the script is
Page.Response.Clear()
Page.Response.ClearContent()
Page.Response.ClearHeaders()
Me.TBLexcel.RenderControl(oHTMLWriter)
Page.Response.Write("<html><head></head><body>")
Page.Response.Write(oStringWriter)
Page.Response.Write("</body></html>")
Response.charset="utf-8"
Dim OpenType As String = "attachment"
Page.Response.ContentType = "application/ms-excel"
Page.Response.AddHeader("Content-Disposition", OpenType + ";filename="
+FileName)
Page.Response.End()
But, if i open the file with notepad i find= Members of community Facoltà
di Economia
if i open the file with excel i find= Members of community Facoltà di
Economia
so, there is a problem with encoding, but i don't understand where !
I have a table on an aspx page and i want to export its rows into an Excel
File, the script is
Page.Response.Clear()
Page.Response.ClearContent()
Page.Response.ClearHeaders()
Me.TBLexcel.RenderControl(oHTMLWriter)
Page.Response.Write("<html><head></head><body>")
Page.Response.Write(oStringWriter)
Page.Response.Write("</body></html>")
Response.charset="utf-8"
Dim OpenType As String = "attachment"
Page.Response.ContentType = "application/ms-excel"
Page.Response.AddHeader("Content-Disposition", OpenType + ";filename="
+FileName)
Page.Response.End()
But, if i open the file with notepad i find= Members of community Facoltà
di Economia
if i open the file with excel i find= Members of community Facoltà di
Economia
so, there is a problem with encoding, but i don't understand where !