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

ASP.NET(c#)³£ÓÃÀຯÊý

 
³£Óú¯ÊýϵÁÐ:
public static string Get_ClientIP() µÃµ½¿Í»§¶ËIP
public static string Get_CMac(string IP) µÃµ½¿Í»§¶Ë CMac µØÖ·
public static string RequestF(string xPName,string xPType,int xLenDef) °²È«½ÓÊÕÊý¾ÝϵÁÐ
public static string Show_Cont(string xStr) ¹ýÂËÏÔʾ×Ö´®
public static string Show_jsStr(string xStr) ¹ýÂËÏÔʾjs
°²È«¼ì²âº¯Êý:
public static string CheckUrl(string xDirPage) ÉÏÒ³µØÖ·ÈÏÖ¤
public static string Chk_Perm0(string xPerm,string xSys,string xAct) ȨÏÞÈÏ֤ϵÁÐ
public static string Chk_Perm1(string xPerm,string xSys,string xAct) ȨÏÞÈÏ֤ϵÁÐ
public static string Chk_Perm2(string xPerm,string xSys,string xAct) ȨÏÞÈÏ֤ϵÁÐ
Óʼþ·¢Ëͺ¯Êý:
public void SendEmail(string xSubj,string xCont,string FmAddr,string ToAddr)
public void SendSmtp(string xSubj,string xCont,string xfrom,string xTo)
¼ÓÃܽâÃܺ¯Êý£º
public static string Enc_PW(string xID,string xPW,int xLen) ¸Ä×°sha1+md5¼ÓÃܽâÃܺ¯Êý¼ÓÃܺ¯Êý
public static string Conv_10toXX(long xNum,int xBase) 10½øÖÆ ×ª XX ½øÖÆ
public static long Conv_XXto10(string xStr,int xBase) xx½øÖÆ ×ª 10 ½øÖÆ
public static string DESDec(string pToDecrypt, string sKey) DES½âÃÜ
public static string DESEnc(string pToEncrypt, string sKey) DES¼ÓÃÜÃÜ
public static string DESPeace(string xStr, string xType) ¸Ä×°DES
public static string DESSwap(string xStr, int xN) DES ¸Ä×°Ëã·¨
Îļþ²Ù×÷º¯Êý£º
public static string fCreate(string xFile,string xContent) ½¨Á¢Îļþ
public void ImgCode (Page containsPage,string validateNum) Éú³ÉͼƬÈÏÖ¤Âë
public static string ImgShow(string xPName,int xImgW,int xImgH,int xMaxW,int xMaxH) °´±ÈÀý´óСÏÔʾͼƬ
public static DataTable fList(string xPath) ÏÔʾÎļþÁбí ÏÔʾÎļþ¼ÐÁбí
public static string fRead(string xFile) Îļþ¶ÁÈ¡º¯Êý
public static ArrayList fUpload(HttpPostedFile xFile,string xPath,string xOrg,int xSize,string xType) ÎļþÉÏ´«ÈÏÖ¤º¯Êý
ʱ¼ä/Ëæ¼´×Ö´®º¯Êý£º
public static string Get_AutoID(int xLen) ×Ô¶¯Ëæ»ú ID ´®
public static string Get_HHMMSS()  µÃµ½Ê±¼äHHm


Ïà¹ØÎĵµ£º

asp.netµ¯³ö´°¿ÚÉè¼Æ

asp.netµ¯³ö´°¿ÚÉè¼Æ
¡²×ª¡³http://hi.baidu.com/%CE%DE%B7%E7%CC%FD%BA%A3/blog/item/af7182c596ce3bc339db4959.html
ÕªÒª£º±¾ÎÄÌÖÂÛÈçºÎÒÔASP.NETÖеÄCodeBehind·½Ê½ÊµÏÖ¸÷ÖÖµ¯³ö´°¿Ú£¬ÊµÏÖÓ뵯³ö´°¿ÚµÄ½»»¥¡£²¢Ì½ÌÖ³£Ó÷DZê×¼IEä¯ÀÀÆ÷¶Ôµ¯³öµÄ´°¿ÚµÄ¸÷ÖÖ¹ýÂËÐÐΪ¼°Ê¹Óõ¯³ö´°¿ÚÏàÓ¦¶Ô²ß£¬ÒÔÆÚ¸ø³öʹÓõ¯³ö´°¿ÚµÄÒ»¸öͨ ......

asp.netÖÐʱ¼ä¸ñʽ»¯µÄ¼¸ÖÖ·½·¨

Çмǣ¬ÇÐ¼Ç DateTime.Now.Date.ToString("yyyyÄêMMÔÂddÈÕ"); //MM Òª´óд£¬·ñÔò»áÊÇ00,²»ÊÇÕæÊµµÄÔÂ·Ý private void getDate()
{
date.Text = DateTime.Now.Date.ToString("yyyyÄêMMÔÂddÈÕ"); //Õâ¸öËæÒâµÄ£ºyyyy-MM-dd Ò²¿ÉÒÔ
string Temp="";
switch (DateTime.Now.DayOfWeek)
{
case DayO ......

ASP.NETÒ³ÃæË¢Ð·½·¨×ܽá

µÚÒ»£º
private void Button1_Click( object sender, System.EventArgs e ) { Response.Redirect( Request.Url.ToString( ) ); } µÚ¶þ£º
private void Button2_Click( object sender, System.EventArgs e ) { Response.Write( " < script language=javascript>window.location.href=document.URL; < /script&g ......

[ת]asp.netÇø·ÖÖÐÓ¢ÎÄ×Ö·û´®½ØÈ¡

/// <summary>
/// ×Ö·û´®Çиî
/// </summary>
/// <param name="p_SrcString"></param>
/// <param name="p_Length"></param>
/// <returns></returns>
public static string GetSubString(string p_SrcString, int ......

ASP.NETÈý²ã¼Ü¹¹µÄ˵Ã÷¼°Èý²ã¼Ü¹¹µÄÌØµã

ASP.NETÈý²ã½á¹¹ËµÃ÷
ÍêÉÆµÄÈý²ã½á¹¹µÄÒªÇóÊÇ:Ð޸ıíÏÖ²ã¶ø²»ÓÃÐÞ¸ÄÂß¼­²ã,ÐÞ¸ÄÂß¼­²ã¶ø²»ÓÃÐÞ¸ÄÊý¾Ý²ã¡£·ñÔòÄãµÄÓ¦ÓÃÊDz»ÊǶà²ã½á¹¹,»òÕß˵ÊDzã½á¹¹µÄ»®·ÖºÍ×éÖ¯ÉÏÊDz»ÊÇÓÐÎÊÌâ¾ÍºÜÄÑ˵.²»Í¬µÄÓ¦ÓÃÓв»Í¬µÄÀí½â£¬ÕâÖ»ÊÇÒ»¸ö¸ÅÄîµÄÎÊÌ⣮
Àí½âASP.NETÈý²ã½á¹¹——ΪʲôҪ·ÖÈý²ã£¿
ÎÒÃÇÓÃÈý²ã½á¹¹Ö÷ÒªÊÇÊ¹Ï ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ