ravula2000
IS-IT--Management
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)
hw.RenderBeginTag("h5")
hw.Write("Case# " & lsCaseNum)
hw.RenderEndTag
fdgdcardslawenf.RenderControl(hw)
Response.Write(tw.ToString())
Response.End()
The above code opens in a browser in excel... But I want to open Excel application and it should prompt in which directory i want to save and then it should save accordingly..
Thanks
Srini
Response.Charset = ""
Me.EnableViewState = False
Dim tw As New System.IO.StringWriter()
Dim hw As New System.Web.UI.HtmlTextWriter(tw)
hw.RenderBeginTag("h5")
hw.Write("Case# " & lsCaseNum)
hw.RenderEndTag
fdgdcardslawenf.RenderControl(hw)
Response.Write(tw.ToString())
Response.End()
The above code opens in a browser in excel... But I want to open Excel application and it should prompt in which directory i want to save and then it should save accordingly..
Thanks
Srini