Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

asp.netÖвÙ×÷ExcelÈ«¼¯

Ê×ÏÈÔÚ Web.Config ÖÐÌí¼ÓÄ£ÄâÕʺŠ
<identity impersonate="true" userName="administrator"password="password" />
 
         Æä´Î ÒªÌí¼Ó EXCEL com ×é¼þ¡£Èç¹ûÊÇEXCEL2003,ÔòÌí¼Ó EXcel library 11.0 °æ±¾¡£ÎÒ°ÑÓõ½µÄÒýÓÃÍ·ÎļþÁоÙÈçÏ£º
 
       private Excel.Application objApp;
       private Excel.Sheets objSheets;
       private Excel._Worksheet objSheet;
       private Excel.Range range;
      objApp = new Excel.Application();
      objSheet = (Excel._Worksheet)objSheets.get_Item(1);
 
          ÎÒ½Ó×Å°Ñ´ó¼Ò±à³ÌÖÐÓõ½µÄº¯ÊýÁоÙÈçÏ£º
 
using System;
using System.IO;
using System.Text;
using System.Data;
using System.Reflection;
using System.Diagnostics;
using System.Collections;
 
 
namespace TEST.EXCEL
 
{
 /// <summary>
 /// ˵    Ã÷£ºExcelÊä³ö´òÓ¡Ä£¿é
 ///     ÔÝʱ²»Ìṩ²Ù×÷Excel¶ÔÏóÑùʽ·½·¨£¬Ñùʽ¿ÉÒÔÔÚExcelÄ£°åÖÐÉèÖúÃ
 /// ×÷    Õߣº
 /// ´´½¨ÈÕÆÚ£º
 /// ÐÞ¡¡¡¡¸Ä£ºSuper
 /// </summary>
 public class ExcelHelper
 {
  #region ³ÉÔ±±äÁ¿
  private string templetFile = null;
  private string outputFile = null;
  private object missing = Missing.Value;
  private DateTime beforeTime;   //ExcelÆô¶¯Ö®Ç°Ê±¼ä
  private DateTime afterTime;    //ExcelÆô¶¯Ö®ºóʱ¼ä
  Excel.Application app;
  Excel.Workbook workBook;
  Excel.Worksheet workSheet;
  Excel.Range range;
  Excel.Range range1;
  Excel.Range range2;
  Excel.TextBox textBox;
  private int sheetCount = 1;   //WorkSheetÊýÁ¿
  private string sheetPrefixName =


Ïà¹ØÎĵµ£º

dz̸ASP.net°²È«±à³Ì

ÔÚWeb±à³Ì¹ý³ÌÖУ¬´æÔÚןܶలȫÒþ»¼¡£±ÈÈçÔÚÒÔÇ°µÄASP°æ±¾ÖУ¬CookieΪ·ÃÎÊÕߺͱà³ÌÕ߶¼ÌṩÁË·½±ã£¬²¢Ã»ÓÐÌṩ¼ÓÃܵŦÄÜ¡£´ò¿ªIEä¯ÀÀÆ÷£¬Ñ¡Ôñ“¹¤¾ß”²Ëµ¥ÀïµÄ“InternetÑ¡Ï¬È»ºóÔÚµ¯³öµÄ¶Ô»°¿òÀïµ¥»÷“ÉèÖÔ°´Å¥£¬Ñ¡Ôñ“²é¿´Îļþ”°´Å¥£¬ÔÚµ¯³öµÄ´°¿ÚÖУ¬¾Í»áÏÔʾӲÅÌÀï ......

asp.netÖжÁдxml

 ±êÇ©£ºxml .net¡¡¡¡¡¡[ÍÆË͵½¼¼ÊõȦ]
loveqq2004
<?xml version="1.0" encoding="utf-8" ?>
<files>
    <file>
           <name>4.dll</name>
         &nb ......

asp.net ¶ÔXML ¶Áд²é²Ù×÷

  Ê×ÏÈ¿´ÏÂXML½á¹¹
<?xml version="1.0" encoding="utf-8"?>
<corplist>
<corp>
<linkname>³ÂÏÈÉú</linkname>
<corpname>XXXXXXXXX¹«Ë¾</corpname>
<email>xxxxx@126.com</email>
</corp>
<corp>
<linknam ......

ASP.NETÍøÒ³ÔÚVS2008ÖеÄÉú³ÉÁ÷³Ì

ÍòÊ¿ªÍ·ÄÑ
ÕÒÁ˺ܶàAPS.NETµÄÊ飬ÒÔ¼°ÌýÀÏʦ½²µÄÖÆ×÷Á÷³Ì£¬»òÕßÔÚMSDNÀïÕÒµ½µÄ×ÊÁÏ£¬
´ó¸ÅÒòΪ±àÒëÆ÷µÄÔ­Òò£¬¶¼²»Ì«Ïàͬ£¬µ¼ÖÂ×Ô¼º°´×Ų½ÖèÒ²×ö²»¶Ô
½ñÌìÖÕÓÚÖªµÀÕý¹æµÄ×ö·¨ÁË ¹þ¹þ  ¸Ï¿ì¼ÇÏÂÁË~
1.File=¡·Îļþ=¡·Ð½¨=¡·ÍøÕ¾=¡·ASP.NETÍøÕ¾
µã»÷È·ÈϾͿÉÒÔÁË
2.¿ªÊ¼Éè¼ÆÒ³Ãæ
Éè¼ÆÈ«²¿ÊÇÔÚDefault.aspxÀïÃæ
Ë ......

Asp.NetµÄÃæÊÔÌâ

 1. Ìî¿Õ:
(1)ÃæÏò¶ÔÏóµÄÓïÑÔ¾ßÓÐ________ÐÔ¡¢_________ÐÔ¡¢________ÐÔ¡£
(2)ÄÜÓÃforeach±éÀú·ÃÎʵĶÔÏóÐèҪʵÏÖ ________________½Ó¿Ú»òÉùÃ÷________________·½·¨µÄÀàÐÍ¡£
(3)ÁоÙADO.netÖеÄÎå¸öÖ÷Òª¶ÔÏó_______________¡¢_____________¡¢_______________¡¢_______________¡¢_________________¡£
2. ²»¶¨ÏîÑ¡Ôñ£ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ