Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö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µ¯³ö´°Ìå´óÈ«
<SCRIPT LANGUAGE="javascript">
¡¡¡¡<!--
¡¡¡¡window.open ('page.html')
¡¡¡¡-->
¡¡¡¡</SCRIPT>
¡¡¡¡
¡¡¡¡ÒòΪ×ÅÊÇÒ»¶Îjavascripts´úÂ룬ËùÒÔËüÃÇÓ¦¸Ã·ÅÔÚ<SCRIPT LANGUAGE="javascript">±êÇ©ºÍ</script>Ö®¼ä¡£<!-- ºÍ -->ÊǶÔһЩ°æ±¾µÍµÄä ......

ASP.net ·ÂQQµ¯³ö´°¿Ú

 ASP.net ·ÂQQµ¯³ö´°¿Ú
¡²×ª¡³http://hi.baidu.com/liyukun8203/blog/item/d9244dfcdb78e388b901a019.html
×î½üÔÚ×öÄÚ²¿¹ÜÀí,ÐèÒªÓõ½Õâ¸ö¶«Î÷À´ÌáÐÑ,ËùÒԾͰÑËü×ö³ÉÒ»¸öÀà,Ö±½Óµ÷ÓÃ,Âú·½±ãµÄ.ÌùһϴúÂë,´ó¼Ò¿´Ò»ÏÂ
Code
1 using System;
2 using System.Web;
3 using System.Collections.Generic;
4 using Sy ......

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³£ÓôúÂë

1. ´ò¿ªÐµĴ°¿Ú²¢´«ËͲÎÊý£º
 
´«ËͲÎÊý£º
response.write("<script>window.open('*.aspx?id="+this.DropDownList1.SelectIndex+"&id1="+...+"')</script>")
½ÓÊÕ²ÎÊý£º
string a = Request.QueryString("id");
string b = Request.QueryString("id1");
2.Ϊ°´Å¥Ìí¼Ó¶Ô»°¿ò
Button1.Attribut ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ