MIME ??????? ?????????? ?? ??? ???? Excel ????????????? ?? ???????? ???? ?? ??? ???? ????

???? ?????? ???? ??????
???? ID: 271572 - ?? ???????? ?? ?????? ??? ?? ?? ???? ???? ???? ??.
??? ?? ??????? ???? | ??? ?? ??????? ????

??????

?? ???? ?? ????????? ???? ?? ?? ???? ?? ???????? ????????????? Microsoft Excel ?? ??? MIME ??????? ?? ??? ??? ???????? ?? ???? ??? ?? ????? ?? ??? ?????? ????? ????? (ASP) ?? ????? ?? ???? ????

???? ???????

Excel ???? HTML/XML ???????? ?? ?? ???? ??? ?????? ??? ?????? ??????? ?? ??? ???? ?? ???? ???? ?? ?? ???? Excel 2000 ????????????? ?? ???? ??? ??? ?? ??? ??? ?????? ???, ?? Excel ?????? ?? HTML ??? ?? ?? ?????? ??? ???? ????? ?? Excel ?? ??? ????? ???? ?? XML ???? ???? ????????????? ?? ?? ?????? ??? ????? ?? ???? Excel ?? ??????? ?? Excel ???: (??? "????? ?????") ?? ??? ???? ????????????? ??????? ??? ???? ?????

?? ?? Internet Explorer ??? ???? ??? ??? ?? ??? ??? ????? ?? ????????????? ?? ????? ???, HTML ??? ???????? ????? ???? ?? ??? ????? ??? ???? ???? ?? ?? ???? ????????????? ?? Excel ??? ?? ?????? ??? ????? ???, ?? Excel ?????????????, ??????????, ????????? ?? ??????? ?? ??? pertain ?? ???? ?? ?? ?????? ?? ??? XML ????? ????? ???? ??? Excel 2000 ?? ??? HTML ?? XML ?? ????? ?? ???? ??????? ?? ??? "Microsoft Office HTML ?? XML ??????" ?? ????? MSDN ??? ???? ?????:
(office.10) http://msdn2.Microsoft.com/en-us/library/Aa155477 .aspx
ASP ?? ????? ??, ??? ???? ??? ???? ????? ??? Excel ?? HTML/XML ???????? ???????? ???? ?? ??????? ??????? ?? ??? ???????? ??????? ??, ?? Excel ??? ????????? ??? ?? ???? ?? ???? ????? ?? ????????? ?? ???? ?? ?? ??? ????????????? ?? ????????????? ?? ???????? ?? Excel ?? HTML/XML ?????? ?????? ??????? ????????? ????? HTML/XML ?????? ??? ??? Excel ????????????? ?????, ?? ?? ?? MIME ??????? Excel ?? ??? ??????? ?? ?? ??? ??? ??????, ?? ????? ?? ???? ????:
  1. ?????? ??? ????? ??? ???????:
    <%@ Language=VBScript %>
    <%
      ' Check for a value passed on the address bar.
      if (Request.QueryString("i")) = "" then bFirst = true
      ' If we have a value for "i", we know that we can display the
      ' data in Excel.
      if (bFirst = false) then
        ' Buffer the content and send it to Excel.
        Response.Buffer = true
        Response.ContentType = "application/vnd.ms-excel" 
    %>
    <HTML xmlns:x="urn:schemas-microsoft-com:office:excel">
    <HEAD>
    <style>
      <!--table
      @page
         {mso-header-data:"&CMultiplication Table\000ADate\: &D\000APage &P";
    	mso-page-orientation:landscape;}
         br
         {mso-data-placement:same-cell;}
    
      -->
    </style>
      <!--[if gte mso 9]><xml>
       <x:ExcelWorkbook>
        <x:ExcelWorksheets>
         <x:ExcelWorksheet>
          <x:Name>Sample Workbook</x:Name>
          <x:WorksheetOptions>
           <x:Print>
            <x:ValidPrinterInfo/>
           </x:Print>
          </x:WorksheetOptions>
         </x:ExcelWorksheet>
        </x:ExcelWorksheets>
       </x:ExcelWorkbook>
      </xml><![endif]--> 
    </HEAD>
    <BODY>
    <TABLE>
    <%
       ' Build a multiplication table from 1,1 to i,j.
       for i = 1 to CInt(Request.QueryString("i"))
         Response.Write "  <TR>" + vbCrLf
         for j = 1 to CInt(Request.QueryString("j"))
           if (j = 1) or (i = 1) then
             Response.Write "    <TD bgcolor=""#FFF8DC"">"
           else
             Response.Write "    <TD bgcolor=""#B0C4DE"">"
           end if
    	   Response.Write CStr(i*j) + "</TD>" + vbCrLf
         next
         Response.Write "  </TR>" + vbCrLf
       next
    %>
    </TABLE>
    </BODY>
    </HTML>
    <%
      else
      ' The user hasn't loaded the page yet. Prompt them for
      ' values for the table.
    %>
    <HTML>
    <BODY>
    Please enter indices for the multiplication table:<BR>
    <FORM action="xlmime.asp" method=GET>  
      i = <INPUT type="text" name=i style="WIDTH: 25px"><BR>
      j = <INPUT type="text" name=j style="WIDTH: 25px"><BR><BR/>
      <INPUT type="submit" value="Submit"><BR/>
    </FORM>
    </BODY>
    </HTML>
    <%
      end if
    %>
    					
  2. ???? ??? ????? ?? ??????? ??? ?????????? ??? XLMime.asp ?? ??? ??? ????? ??????? (??????? ??????? ??? ?? C:\Inetpub\Wwwroot.)
  3. Internet Explorer ?? ??????? ???? ?? http:// ???? ?? ??? ??????? ????YourWebServer/xlmime.asp, ????YourWebServer???? ??? ????? ?? ??? ???
  4. ??? ??? ??? ?? ????? ??, ???????? ??? ?????? ??? ??????? ???????? ??? ???? ?? ???? ??? ????? ????????? ????. ??????? ??? ?? ?? ?? ????????????? ??? Excel ??-????? ?????? ???? ??? ?? ????????????? ??? ????????? (i) ?? ?????? ?? ????? (j) ?? ?? ???? ?????? ????????? ?????? ??? ???????? ???? ??? ??? ??, ??? ?? ????? ????? ?? ???? ??????? ?????????? ?? ???, ???? ????? ????? ?? ????????? ????????? ???? ?? ??? ??? ?? ?? ?? ?? ????? ????? ??? ????? ???

??????

Office ??????????? ?? ??? MIME ??????? ?????????? ?? ???? ??? ???? ??????? ?? ??? ?????? ?? Microsoft ???????? ??? ????? ?? ??? ????? ???? ???????? ?? ????? ????:
266263BUG: Word 2000 ?? Excel 2000 ???????? ASP ????? ??????? ???? ?? ??? MIME ?????? ?? ????? ???? ???
199841MIME ???????? ?? ??? IE ??? Excel ?? ????? ???? ASP ????????? ???? ?? ??? ??????
Office ??????? ?? ???? ??????? ?? ??? Microsoft Office ????????? ?????? ???? ?? ????:
http://support.microsoft.com/ofd

???

???? ID: 271572 - ????? ???????: 29 ??????? 2010 - ??????: 4.0
???? ???? ???? ??:
  • Microsoft Office Excel 2007
  • Microsoft Excel 2000 Standard Edition
  • Microsoft Active Server Pages 4.0
??????: 
kbhowto kbmt KB271572 KbMthi
???? ?????? ????????
??????????: ?? ???? ?? ???? ??????? ?? ????? ?? Microsoft ????-?????? ?????????? ?????? ?????? ???? ??? ??. Microsoft ???? ??? ????-???????? ?? ????-???????? ????? ?????? ?? ???? ???????? ???? ?? ???? ????? ????? ??? ?? ??? ?????? ?? ???? ???? ???? ??? ????? ??. ???????, ????-???????? ???? ????? ???? ???? ???? ???. ?????, ????????, ?????-???? ?? ??????? ?? ???????? ?? ???? ???, ???? ?? ??? ?????? ???? ???? ??? ????? ??? ?? ???? ??. Microsoft ??????? ??? ???? ?? ?????? ?? ??????????, ????????? ?? ??? ?????? ?? ???? ????? ?? ???? ???????? ?? ??? ???? ????? ?? ??? ????????? ???? ??. Microsoft ????-?????? ?????????? ?? ????? ?????? ?? ?? ??? ??.
?????????? ?? ??????? ????????? ??????? ??:271572

??????????? ???

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com