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

asp.net µ¼³öExcel/Word

asp.netÖе¼³öÓкܶ෽·¨¡£ÆäÖбȽÏÍÆ¼öµÄ¼æÈݵ¼³öÊǵ¼³öΪword/excel¼æÈݵÄmhtml¸ñʽ²¢ÉèÖÃÁ÷¸ñʽΪword»òexcel¡£
ÕâÖз½·¨µÄºÃ´¦ÊÇ¿ÉÒÔ½¨Á¢Ò»¸öͨÓõĿ⡣±¾ÎÄÖÐÌá³öÁËÒ»¸öͨÓõĵ¼³öÀ࣬ʵ¼ùÖÐʹÓÃЧ¹û½ÏºÃ¡££¨ps£¬html½âÎöÀàдµÄ±È½Ï²Ö´Ù£¬¸÷λÈçÓÐÐËȤ¿ÉÖØÐ´Ò»ÏÂ~£©
///
///@Author Simsure
///@Version 1.0
///
using System;
using System.Collections;
using System.Collections.Generic;
using System.Text;
using System.Text.RegularExpressions;
using System.Web;
using System.Net;
using System.IO;
/// <summary>
///MHtmlDocument µÄժҪ˵Ã÷
/// </summary>
public class MHtmlDocument
{
    protected const string _NEXT_PART = "------=_NextPart_WIND";
    protected const string _4NEXT_PART = "----=_NextPart_WIND";
    private const string WIND_SESSION_ID = "wind.sessionid";
    protected string _encoding = "utf-8";
    protected string _pageVirutalPath;
    protected string _rootHttpVirtualPath;
    protected bool _enableBase64 = false;
    protected HtmlDocument _baseDocument;
    protected HttpRequest _request;
    protected HttpResponse _response;
    protected static readonly log4net.ILog _log = log4net.LogManager.GetLogger("MHtmlDocument");
    public string Encoding
    {
        get { return _encoding; }
    }
    public string RootHttpVirtualPath
    {
        get { return _rootHttpVirtualPath; }
    }
    public string PageVirtualPath
    {
        get { return _pageVirutalPath; }
    }
    public bool EnableBase64
    {
        get { return _enableBase64; }
        set { _enableBase6


Ïà¹ØÎĵµ£º

Asp.netÁ¬½ÓÊý¾Ý¿â½Ì³Ì£¨vb.net£©

Asp.netÁ¬½ÓSQL Server2000Êý¾Ý¿âÀý³ÌÏê½â: 
<%@ Import Namespace="System.Data" %> 
<%@ Import NameSpace="System.Data.SqlClient" %> 
<script laguage="VB" runat="server"> 
sub page_load(sender as Object ......

½Å±¾(JS)¹Ø±Õ´°Ì壨ASP.NET£©

¹Ø±Õ´°Ìå 
  1.
      this.btnClose.Attributes.Add("onclick",  "window.close();return false;");
  2.¹Ø±Õ±¾´°Ìå¼äÌø×ªµ½ÁíÒ»¸öÒ³Ãæ
      this.HyperLink1.NavigateUrl = "javascript:onclick=window.opener.location.assign
        ......

ASP.NET MVC ×Ô¶¨Òå¹ýÂËÊôÐÔʵÏÖEnterpriseµÄlog¹¦ÄÜ

ÏÖÔ򵀮óÒµ¼¶¿ª·¢ÏîÄ¿£¬ÌرðÊÇÍøÕ¾Ò»°ã¶¼»áÓõ½log¹¦ÄÜ£¬ÏëÏë´ó²¿·Ö»áÓÃEnterprise Logging Application Block µÄ¹¦ÄÜ »òÕß×Ô¼ºÐ´Ò»¸ö×é¼þ£¬¼Ç¼ϵͳÈÕ־ʼþ£¬¸üºÃµÄ¸ú×ÙÁ˽âϵͳÔËÐÐÇé¿ö, ÏÖÓÃASP.NET MVC µÄ¹ýÂËÊôÐÔʵÏÖlog¹¦ÄÜ£¡
       ASP.NET MVCµÄfilter ÊÇÒ»¸öÊôÐÔ£¬¿ÉÒÔÓ¦Ó ......

asp.netÈý²ã½á¹¹Àý×Ó

ÕÒµ½Ò»±é½²½âÈý²ã½á¹¹±È½ÏÇå³þÒ×¶®µÄÎÄÕ£¬ÒýÓÃһϣ¬ÁôΪѧϰ¡£
Èý²ãʽ¿ª·¢ÖеIJã´Î»®·ÖÌÖÂÛ
ÏȾÙÒ»¸öÔø¾­ÔÚÄı¾ÊéÉÏ¿´µ½µÄÀý×Ó£ºÏÖÔÚÄãÏëÔÚ1Ã׿íµÄСϪÉϽ¨Ò»×ùÇÅ£¬Äã»áÔÚÉÏÃæ·Å¿éľ°å¾ÍÍêÁË¡£Èç¹ûÏëÔÚ¿íÒ»µãµÄСºÓÉϽ¨ÕâÇÅ£¬Äã¾ÍÐèÒª¼ÆËãľ²ÄÓÃÁÏ£¬¼Û¸ñµÈ£¬Èç¹ûÐèÒª±ðÈ˰ïæ£¬Ä㻹Ҫ¶àһЩͼֽʲôµÄÈñðÈËÀí½âÄãµÄÏë ......

ASP.NET ÖÐÈçºÎ¶ÔÉú³ÉµÄ HTML ÄÚÈÝÁ÷½øÐпØÖÆ£¿

<%@ Page Language="C#" %>  
<%@ Import Namespace="System.IO" %>  
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">  
<script runat="server">  
  prote ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ