Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö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 =


Ïà¹ØÎĵµ£º

ASP.NET


      Table Web ·þÎñÆ÷¿Ø¼þʹÄúÄܹ»ÔÚ ASP.NET Ò³ÉÏ´´½¨¿ÉʹÓ÷þÎñÆ÷´úÂë½øÐбà³ÌµÄ±í¡£TableRow ºÍ TableCell Web ·þÎñÆ÷¿Ø¼þÌṩÏÔʾ Table ¿Ø¼þµÄÄÚÈݵķ½·¨¡£
Ò»¡¢±³¾°
ͨ³££¬±í²»½öÓÃÀ´ÏÔʾ±í¸ñÐÅÏ¢£¬Ëü»¹ÊÇÔÚÍøÒ³Éϸñʽ»¯ÐÅÏ¢µÄÒ»ÖÖ·½·¨¡£¿ÉÒÔͨ¹ý¶àÖÖ·½·¨ÔÚ ASP.NET Ò³ÉÏ´´½¨±í£º
& ......

ASP.NET


      TextBox Web ·þÎñÆ÷¿Ø¼þΪÓû§ÌṩÁËÒ»ÖÖÏò ASP.NET ÍøÒ³ÖмüÈëÐÅÏ¢£¨°üÀ¨Îı¾¡¢Êý×ÖºÍÈÕÆÚ£©µÄ·½·¨¡£
 
Ò»¡¢±³¾°
TextBox ·þÎñÆ÷¿Ø¼þÊÇÈÃÓû§ÊäÈëÎı¾µÄÊäÈë¿Ø¼þ¡£Ä¬ÈÏÇé¿öÏ£¬¸Ã¿Ø¼þµÄ TextMode ÊôÐÔÉèÖÃΪ TextBoxMode.SingleLine£¬Õ⽫ÏÔʾһ¸öµ¥ÐÐÎı¾¿ò¡£µ«¿ÉÒÔ½« TextMod ......

ASP.NETµÄÓÅÊÆÏê½â

 1.  ASP.NetÊÇʲô£¿
  
  ASP.NetÊǽ¨Á¢ÔÚ΢ÈíÐÂÒ»´ú.Netƽ̨¼Ü¹¹ÉÏ£¬ÀûÓÃÆÕͨÓïÑÔÔËÐÐʱ£¨Common Language Runtime£©ÔÚ
·þÎñÆ÷ºó¶ËΪÓû§Ìṩ½¨Á¢Ç¿´óµÄÆóÒµ¼¶WebÓ¦Ó÷þÎñµÄ±à³Ì¿ò¼Ü¡£
  
  2£®ASP.NetÓëASPµÄÁªÏµºÍÖ÷ÒªÇø±ðÊÇʲô£¿
  
&n ......

asp.net ¸öÈËÕ¾µãÓëDiscuz NTÕûºÏ

¾­¹ýÒ»Íí°ë¿àÕ½£¬ÖÕÓÚ½«Discuz NTÓëij¹«Ë¾ÍøÕ¾ÕûºÏÆðÀ´ÁË£¬Æð³õ»¹Óöµ½²»Ð¡ÎÊÌ⣬ºÜ¶à¶¼²»Ã÷°×¡£
½«ÔÚ¸ùij¹«Ë¾ÍøÕ¾¸ùĿ¼ÉϽ¨Ò»¸öBBSÎļþ¼Ð£¬°ÑDiscuz NTµÄÎļþ¶¼·Å½øÀïÃæ¡£
ÔÙ½«DNT.configÎļþ£¬configÎļþ¼Ð£¬aspnet_clientÎļþ¼Ð£¬BinÎļþ¼ÐµÄÄÚÈÝCopyµ½¸ùĿ¼ÖУ¬½«DiscuzNTµÄWeb.ConfigÎļþÓëij¹«Ë¾ÍøÕ¾µÄWeb.ConfigÎ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ