.NET Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsProgramming.NET Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old June 17th, 2005, 12:59 PM
tinybunny_8 tinybunny_8 is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jun 2005
Posts: 3 tinybunny_8 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 12 m 22 sec
Reputation Power: 0
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?

Reply With Quote
  #2  
Old June 17th, 2005, 04:57 PM
tinybunny_8 tinybunny_8 is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jun 2005
Posts: 3 tinybunny_8 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 12 m 22 sec
Reputation Power: 0
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!!!

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgramming.NET Development > update excel on web


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway
Stay green...Green IT