ʵÏÖasp.netµÄÎļþѹËõ¡¢½âѹ¡¢ÏÂÔØ
ºÜÔçÇ°¾ÍÏë×öÎļþµÄ½âѹ¡¢Ñ¹Ëõ¡¢ÏÂÔØ
ÁË£¬²»¹ýһֱûʱ¼ä£¬ÏÖÔÚÏîÄ¿×öÍêÁË£¬½ñÌìŪÁËÏ¡£²»¹ý½âѹ£¬Ñ¹ËõµÄ·½·¨»¹ÊÇ¿´µÄÍøÉϵģ¬ÎûÎû~~²»¹ýÎÒ°ÑËüÃÇ×ÛºÏÁËÒ»ÏÂŶ¡£ºÇºÇ~~
1.ÏÈÒª´ÓÍøÉÏÏÂÔØÒ»¸öicsharpcode.sharpziplib.dll
2.½¨Á¢ÀàAttachmentUnZip£¬ÄÚÈÝÈçÏ£º
using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using ICSharpCode.SharpZipLib.Zip;
using ICSharpCode.SharpZipLib.GZip;
using ICSharpCode.SharpZipLib.BZip2;
using ICSharpCode.SharpZipLib.Checksums;
using ICSharpCode.SharpZipLib.Zip.Compression;
using ICSharpCode.SharpZipLib.Zip.Compression.Streams;
using System.IO;
/// <summary>
///AttachmentUnZip µÄժҪ˵Ã÷
/// </summary>
public class AttachmentUnZip
{
public AttachmentUnZip()
{
//
//TODO: ÔÚ´Ë´¦Ìí¼Ó¹¹Ô캯ÊýÂß¼
//
}
public static void UpZip(string zipFile)
{
string[] FileProperties = new string[2];
FileProperties[0] = zipFile;//´ý½âѹµÄÎļþ
FileProperties[1] = zipFile.Substring(0, zipFile.LastIndexOf("\\") + 1);//½âѹºó·ÅÖõÄÄ¿±êĿ¼
UnZipClass UnZc = new UnZipClass();
UnZc.UnZip(FileProperties);
}
}
3.½¨Á¢ÀàUnZipClass£¬ÄÚÈÝÈçÏ£º
using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.IO;
using IC
Ïà¹ØÎĵµ£º
ÓкܾÃÒ»¶Îʱ¼äÎÒµÄBLOGÉÏûÓгöÏÖAJAXÏà¹ØѶϢÁË£¬Ö÷Òªµ±È»ÊÇÒòΪ¾ø´ó²¿·ÖµÄÖØÐĶ¼·Åµ½ÁËSilverlightÉíÉÏ(¿ÉÔ¤ÆÚµÄδÀ´Ó¦¸ÃÒ²»áÊÇÈç´Ë)¡£
µ«ÓÉÓÚ¹¤×÷ÉϵÄÐèÒª£¬×î½ü»¹ÊÇ»ØÍ·¿´ÁËһϼ´½«ÍƳöµÄASP.NET Ajax Library...£¬Ë³±ãÕÒÁËÒ»ÏÂÍøÂçÉϵÄѶϢ£¬¿´Õâ¸ö̬ÊÆÎÒ²ÂÏëÓ¦¸Ã²»ÉÙASP.NET¿ª·¢ÈËÔ±ºöÂÔµôÁËÕâ¸öÆäʵÒѾbet ......
¹ØÓÚÊý¾Ý´¦ÀíÏà¹ØµÄÓÅ»¯
Ò»¡¢ SqlDataReadºÍDatasetµÄÑ¡Ôñ
SqldatareadÓŵ㣺¶ÁÈ¡Êý¾Ý·Ç³£¿ì¡£Èç¹û¶Ô·µ»ØµÄÊý¾Ý²»Ðè×ö´óÁ¿´¦ÀíµÄÇé¿öÏ£ ......
/// <summary>
/// Ìṩ¾³£ÐèҪʹÓõÄһЩÑéÖ¤Âß¼¡£ ±ÈÈç ÓÊÏäÊÇ·ñºÏ·¨
/// </summary>
public class Validator
{
/// <summary>
&nbs ......
ÕâÀïÎÒֻժȡÁËÔÎĵÄCodeÒÔ¹©Ç±ÐÄÑо¿.using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.Configuration;
using System.Data.SqlClient;
using System.Web.Security;
using System.Data;
public ......
asp.netÖдËÒ³µÄ״̬ÐÅÏ¢ÎÞЧ£¬¿ÉÄÜÒÑË𻵵Ľâ¾öÖ®µÀ[ת]
ĬÈÏ·ÖÀà 2009-02-06 16:16:06 ÔĶÁ137 ÆÀÂÛ0 ×ֺţº´óÖÐС
Õë¶Ô´ËÎÊÌâÍøÉÏÓÐÒ»ÖÖ½â¾ö°ì·¨£¬¾ÍÊÇÔڸù¤³ÌÖеÄweb.configÖÐÌí¼ÓÈçÏ´úÂ룺 <pages enableEventValidation="False" viewStateEncryptionMode="Never" /> £¬µ«Ò²Óкܶà¼ÓÁËÕâ¶ÎÓï¾äºó£¬»¹Êdzö´í ......