|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
update excel on web
Hi all,
I am needing some suggestions as to how I can update excel on web. Following is the code that I am currently using: Response.Clear(); Response.Buffer= true; Response.ContentType = "application/vnd.ms-excel"; Response.Charset = ""; System.IO.StringWriter oStringWriter = new System.IO.StringWriter(); System.Web.UI.HtmlTextWriter oHtmlTextWriter = new System.Web.UI.HtmlTextWriter(oStringWriter); this.ClearControls(dg); dg.RenderControl(oHtmlTextWriter); Response.Write(oStringWriter.ToString()); Response.End(); This will result in opening an excel interface that fills up the whole page. What I am wanting to do are: 1. Open an excel interface that doesn't fill up the page; the page will have search capability on the top and the result in excel interface on the bottom. 2. Update the excel content and click a button to cache the updated excel content so I can update my database. Does anyone know how to do those things? |
|
#2
|
|||
|
|||
|
Some more info:
If I could not get the excel interface on the same window, I think I can just open a new window (different aspx page). However, I still want to cache the updates when the excel window is closed. If you could help me with caching, that would be AWESOME!!! |
![]() |
| Viewing: Dev Articles Community Forums > Programming > .NET Development > update excel on web |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|