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

asp.net Excel¿ØÖÆ(·þÎñÆ÷¶Ë£©

  ×î½üÕýÔÚ×öÒ»¸ö±¨±í³ÌÐò£¬Ò²¾ÍÊÇÀûÓÃÒѾ­Óеı¨±íÄ£°å£¬½«Êý¾Ý¿âÀïµÄÊý¾ÝÌî³ä½øÈ¥ºó£¬¿Í»§¶Ë¿ÉÒÔÏÂÔØ¡£
  »ù±¾Ë¼ÏëÊÇÕâÑùµÄ£º1.ÔÚ·þÎñÆ÷¶Ë±¾µØн¨Ò»¸öÎļþ¼Ð£¬×¨ÃÅÓÃÀ´´æ·ÅÁÙʱµÄExcel±í¸ñ
                             2.µ±ËùÓеÄÊý¾Ý¶¼Ð´½øExcelºó£¬½«µ±Ç°µÄ±í¸ñת»»Îª¶þ½øÖÆÁ÷¶Á³ö
                             3.н¨Ò»¸öÒ³Ã棬ÔÚpage_loadÖеõ½¶þ½øÖÆÁ÷£¬Response³ÉExcel²¢Ìáʾ¿Í»§¶ËÏÂÔØ
  ¾ßÌå´úÂ룺
            path = "Print" + "/" + DateTime.Now.ToString("yyyyMMddHHmmssfff") + ".xls";//н¨Ò»¸öÎļþÃû£¬ÒÔµ±Ç°Ê±¼äΪÃû
            string[] printExcel = Directory.GetFiles(Server.MapPath("Print"));//ÏȶÁÈ¡´æ·ÅÎļþ¼ÐÖеÄËùÓÐÎļþÃû£¬¿´ÊÇ·ñÓÐÖظ´
            bool hasFile = true;
            for (int i = 0; i < printExcel.Length; i++)
            {
                if (Server.MapPath(path) == printExcel[i])
                {
                    hasFile = true;
                }
                else
                {
      &n


Ïà¹ØÎĵµ£º

Asp.netÍøÕ¾¿ª·¢¼Ü¹¹Éè¼ÆÒªÇó


ÍøÕ¾ÎļþÃû£º
1¡¢ ÍøÕ¾ÎļþÃûÒÔ±ê×¼Ó¢Îĵ¥´ÊÃèÊöÒµÎñÄÚÈÝ¡£Èç¹û1¸öÓ¢Îĵ¥´ÊÎÞ·¨ÃèÊö£¬¿ÉÒÔÔö¼Ó2¸ö»òÕß3¸ö£¬µ«¾¡Á¿ÎªÍêÈ«µ¥´Ê£¬ÀýÈçarticle.aspx/ articleView.aspx /    articleList.aspx µÈ¡£
2¡¢ ÎļþÃû¾¡Á¿²»ÓÃÊý×ÖÃèÊö¡£
3¡¢ ÎļþÃû¾¡Á¿²»ÄÜÌ«³¤£¬ÒÔ²»³¬¹ý20¸ö×ÖĸΪÒË¡£
4¡¢ ͼƬÎļþÃû¾¡Á¿ÃèÊöÍ ......

ASP.NETÖÐÈý²ã½á¹¹µÄÔËÓÃ

ASP.NETÖеÄÈý²ã½á¹¹·ÖΪ±íʾ²ã£¨UI£©£¬ÒµÎñÂß¼­²ã£¨BLL£©£¬Êý¾Ý·ÃÎʲ㣨Models£¬DAL£¬IDAL,DALFactory£¬DB£©£¬ÏÂÃæÎÒÀ´ËµËµÎÒ¶ÔѧϰÈý²ã½á¹¹µÄÔËÓá£
Ê×ÏÈÎÒ¸ø´ó¼Ò˵˵ÕâÈý²ã¶¼ÊÇʲôÒâ˼¡£
1.       ±íʾ²ã£ºwebÏîÄ¿×ÔÈ»ÊÇÓ¦ÓóÌÐòµÄ±íʾ²ã£¬¾ÍÊÇ·ÃÎʵÄÕ¾µã£¬ËüÌṩËùÓÐÓëÓû§½øÐн»»¥µÄ ......

asp.netÖг£ÓõÄÓÅ»¯ÐÔÄܵķ½·¨

1. Êý¾Ý¿â·ÃÎÊÐÔÄÜÓÅ»¯¡¡
¡¡
Êý¾Ý¿âµÄÁ¬½ÓºÍ¹Ø±Õ
·ÃÎÊÊý¾Ý¿â×ÊÔ´ÐèÒª´´½¨Á¬½Ó¡¢´ò¿ªÁ¬½ÓºÍ¹Ø±ÕÁ¬½Ó¼¸¸ö²Ù×÷¡£ÕâЩ¹ý³ÌÐèÒª¶à´ÎÓëÊý¾Ý¿â½»»»ÐÅÏ¢ÒÔͨ¹ýÉí·ÝÑéÖ¤£¬±È½ÏºÄ·Ñ·þÎñÆ÷×ÊÔ´¡£ASP.NETÖÐÌṩÁËÁ¬½Ó³Ø(Connection Pool)¸ÄÉÆ´ò¿ªºÍ¹Ø±ÕÊý¾Ý¿â¶ÔÐÔÄܵÄÓ°Ï졣ϵͳ½«Óû§µÄÊý¾Ý¿âÁ¬½Ó·ÅÔÚÁ¬½Ó³ØÖУ¬ÐèҪʱȡ³ö£¬¹Ø±ÕÊ±Ê ......

asp.netÉú³É¾²Ì¬Ò³Ãæ

Default..aspx
<meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
Default..aspx.cs
using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.We ......

asp.net¼òµ¥Êý×ÖÑéÖ¤ÂëµÄʵÏÖ

µ÷ÓÃ
ÑéÖ¤Â룺<input type="text" id="txtValidate" style="border: solid 1px #9B9B9B; width: 85px;
height: 17px;" />  <img src="Rnd.aspx" mce_src="Rnd.aspx" style="width: 58px; height: 17px;
border: solid 1px #9B9B9B" align="abs ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ