添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接
相关文章推荐
宽容的自行车  ·  fp = ...·  11 月前    · 
失恋的茶壶  ·  python 3 typeerror ...·  1 年前    · 
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>
        IE excel 2007   IE word 2007
//即使由attachment寫成inline,網頁仍會跳出一個視窗讓User選擇下載或用office程式開啟 protected void Button1_Click(object sender, EventArgs e) FileStream fs = new FileStream(Server.MapPath("~/files/excel2003.xls"), FileMode.Open); byte[] file = new byte[fs.Length]; fs.Read(file, 0, file.Length); fs.Close(); Response.Clear(); Response.AddHeader("content-disposition", "inline; filename=excel2003.xls"); Response.ContentType = "application/ms-excel"; Response.BinaryWrite(file); 沒有一個對外DomainName或IP,會很難調試,

然後不知道為什麼在本機用iframe的方式內嵌Word、Excel,IE瀏覽器都顯示不出來,從Client端其他電腦連回來看時又正常?

本機調試時只好使用firefox

以上的 程式範例檔

其餘要在網頁嵌入Word、Excel,似乎還有其他辦法?

先把Word、Excel轉成Html,再改變iframe的src 先把Word、Excel轉成PDF檔,再改變iframe的src 先把Word、Excel轉成.swf ,然後? 以上三點都是論壇上別人提供的想法,但礙於最近忙,一直沒時間證明該三點實作結果如何

只好有空再研究吧