Hi sifus,
Good day.
i use the following code to create the excel file. But instead of the excel file to be downloaded once created, I want it to be stored in my hosting server. How should i modify the code?
Response.ContentType = "application/x-msexcel"
Response.AddHeader("Content-Disposition", "attachment; filename=ExcelFile.xls")
Response.ContentEncoding = Encoding.UTF8
Dim tw = New StringWriter()
Dim hw = New HtmlTextWriter(tw)
ltl_saving.RenderControl(hw)
Response.Write(tw.ToString())
Response.End()
thanks in advance