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

asp.net ÑéÖ¤Âë

 ÑéÖ¤ÂëÓ¦Ó㺽«´úÂ븴ÖƵ½Ò³Ãæ¼´¿É£¬²¢½«Ò³ÃæµÄ·¾¶Ð´µ½Í¼Æ¬µÄurlÖбã¿ÉʹÓÃ
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Drawing;
using System.Drawing.Drawing2D; //ÒýÓõÄÃüÃû¿Ø¼þ
public partial class Image : System.Web.UI.Page
{
   
    protected void Page_Load(object sender, EventArgs e)
    {
   
        CreateCheckCodeImage(GenCode(4));
    }
    /**//// <summary>
    /// '²úÉúËæ»ú×Ö·û´®
    /// </summary>
    /// <param name="num">Ëæ»ú³ö¼¸¸ö×Ö·û</param>
    /// <returns>Ëæ»ú³öµÄ×Ö·û´®</returns>
    private string GenCode(int num)
    {
        //string str = "µÄÒ»ÊÇÔÚ²»ÁËÓкÍÈËÕâÖдóΪÉϸö¹úÎÒÒÔÒªËûʱÀ´ÓÃÃÇÉúµ½×÷µØÓÚ³ö¾Í·Ö¶Ô³É»á¿ÉÖ÷·¢Ä궯ͬ¹¤Ò²ÄÜϹý×Ó˵²úÖÖÃæ¶ø·½ºó¶à¶¨ÐÐѧ·¨ËùÃñµÃ¾­Ê®ÈýÖ®½ø×ŵȲ¿¶È¼ÒµçÁ¦ÀïÈçË®»¯¸ß×Ô¶þÀíÆðСÎïÏÖʵ¼ÓÁ¿¶¼Á½ÌåÖÆ»úµ±Ê¹µã´ÓÒµ±¾È¥°ÑÐÔºÃÓ¦¿ªËüºÏ»¹ÒòÓÉÆäЩȻǰÍâÌìÕþËÄÈÕÄÇÉçÒåÊÂƽÐÎÏàÈ«±í¼äÑùÓë¹Ø¸÷ÖØÐÂÏßÄÚÊýÕýÐÄ·´ÄãÃ÷¿´Ô­ÓÖôÀû±È»òµ«ÖÊÆøµÚÏòµÀÃü´Ë±äÌõֻû½á½âÎÊÒ⽨Ô¹«ÎÞϵ¾üºÜÇéÕß×îÁ¢´úÏëÒÑͨ²¢ÌáÖ±Ìâµ³³ÌÕ¹Îå¹ûÁÏÏóÔ±¸ïλÈë³£ÎÄ×Ü´ÎƷʽ»îÉè¼°¹ÜÌؼþ³¤ÇóÀÏÍ·»ù×ʱßÁ÷·¼¶ÉÙͼɽͳ½ÓÖª½Ï½«×é¼û¼Æ±ðËýÊÖ½ÇÆÚ¸ùÂÛÔËÅ©Ö¸¼¸¾ÅÇøÇ¿·Å¾öÎ÷±»¸É×ö±ØÕ½ÏÈ»ØÔòÈÎÈ¡¾Ý´¦¶ÓÄϸøÉ«¹âÃż´±£Öα±Ôì°Ù¹æÈÈÁìÆߺ£¿Ú¶«µ¼Æ÷ѹ־ÊÀ½ðÔöÕù¼Ã½×ÓÍ˼Êõ¼«½»ÊÜÁªÊ²ÈÏÁù¹²È¨ÊÕÖ¤¸ÄÇ强ÃÀÔÙ²Éת¸üµ¥·çÇдò°×½ÌËÙ»¨´ø°²³¡Éí³µÀýÕæÎñ¾ßÍòÿĿÖÁ´ï×ß»ýʾÒéÉù±¨¶·ÍêÀà°ËÀ뻪ÃûÈ·²Å¿ÆÕÅÐÅÂí½Ú»°Ã×Õû¿ÕÔª¿ö½ñ¼¯Î´«ÍÁÐí²½Èº¹ãʯ¼ÇÐè¶ÎÑнçÀ­ÁÖÂɽÐÇÒ¾¿¹ÛԽ֯װӰËãµÍ³ÖÒôÖÚÊé²¼¸´ÈݶùÐë¼ÊÉÌ·ÇÑéÁ¬¶ÏÉîÄѽü¿óǧÖÜίËؼ¼±¸°ë°ìÇàÊ¡ÁÐÏ°ÏìÔ¼Ö§°ãÊ·¸ÐÀͱãÍÅÍùËáÀúÊп˺γýÏû¹¹¸®³Æ̫׼¾«Öµ


Ïà¹ØÎĵµ£º

ASP.NET

°Ë¡¢ASP.NET Web ·þÎñÆ÷¿Ø¼þÄ£°å
      ´ó¶àÊý Web ·þÎñÆ÷¿Ø¼þ¾ßÓÐĬÈϵIJ¼¾ÖºÍÍâ¹Û£¬µ«ÊÇÄú¿ÉÒÔͨ¹ýÉèÖÃÊôÐÔ»òʹÓÃÑùʽÀ´²Ù×ÝËüÃÇ¡£²¿·Ö Web ·þÎñÆ÷¿Ø¼þ»¹ÔÊÐíÄúʹÓÃÄ£°åÀ´×Ô¶¨ÒåÆäÍâ¹Û¡£
Ä£°åÊÇÒ»×é HTML ÔªËغͿؼþ£¬ËüÃǹ¹³É¿Ø¼þÌض¨²¿·ÖµÄ²¼¾Ö¡£ÀýÈ磬ÔÚ DataList Web ·þÎñÆ÷¿Ø¼þÖУ¬Äú¿ÉÒ ......

ASP.NET

Ê®¡¢ÒÔ±à³Ì·½Ê½·ÃÎÊ ASP.NET ¿Ø¼þ
1¡¢Web ´°Ìå¿Ø¼þ±êʶ
      ASP.NETÍøÒ³ÉϵÄÿһ¸ö¿Ø¼þ¶¼±ØÐëÊÇ¿ÉΨһ±êʶµÄ¡£Í¨³££¬Îª¿Ø¼þµÄ ID ÊôÐÔ·ÖÅäÒ»¸öÖµÀ´Î¨Ò»±êʶ¸Ã¿Ø¼þ¡£¸ÃÖµ½«³ÉΪ¿Ø¼þµÄʵÀýÃû³Æ£¨¼´£¬ÔÚ´úÂëÖÐÒýÓÿؼþËùÒÀ¾ÝµÄÃû³Æ£©¡£ÀýÈ磬Èç¹û½« TextBox ¿Ø¼þµÄ ID ÊôÐÔÉèÖÃΪ Text1£¬Ôò¿ÉÒÔÔ ......

ASP.net ѧϰ±Ê¼Ç¶þ ϵͳ¶ÔÏóÓë״̬¹ÜÀí

 µÚ¶þ¿Î£º ϵͳ¶ÔÏóÓë״̬¹ÜÀí
aspxÒ³Ãæ ¼Ì³Ð System.Web.UI.PageÀà
aspx ÔËÐлúÖÆÈçÏ£º
 
Page¶ÔÏó£ºÖ¸ÏòÒ³Ãæ×ÔÉíµÄ·½Ê½£¬×÷ÓÃÓòΪҳÃæÖ´ÐÐÆÚ
1) ÿһ¸öaspxÒ³Ãæ¶ÔÓ¦×ÅÒ»¸öPage¶ÔÏó
2) .aspxÓëºǫ́´úÂëÀà(¾Ö²¿Àà)ºÏ²¢Éú³ÉÒ³ÃæÀà
3) Page¶ÔÏóÊÇÒ³ÃæÀàµÄʵÀý
¸öÈË¿´·¨£ºÔÚPage¶ÔÏó×÷ÓÃÓòÄÚ£¬ÊDz»ÊÇÓеãÏñ ......

¹¦ÄÜÇ¿´óµÄASP.NETľÂí

´ËľÂíдÁËÒ»¶Îʱ¼äÁË,д³öÀ´¾õµÃ×Ô¼º¶Ô.netÓÐÁ˸ü¶àµÄÈÏʶ,µ±È»Ö÷ÒªÊÇѧϰµ½Á˺ܶà֪ʶ.ËùÒÔ¸öÈ˸оõѧϰ±à³Ì×îºÃµÄ;¾¶¾ÍÊÇ´ø×ÅÏîĿȥѧϰ,ÅäºÏ°Ù¶È,googleÈ¥½â¾öÎÊÌâ. ºÇºÇ ÅÅ°æ±È½Ï³óª,¹¦ÄÜʵÓþͺÃ. ºÃÁË,ÏÖÔÚ·¢²¼´ËľÂí
1.µÇ½½çÃæ:
2. Ö÷Ìå½çÃæ
3. ¸÷¹¦ÄÜÄ£¿é
°Ù¶ÈÏÂÔصØÖ·: http://www.baidu.com/s? ......

ASP.NET

      ʹÓà ASP.NET °´Å¥ Web ·þÎñÆ÷¿Ø¼þ¿ÉʹÓû§Äܹ»½«Ò³·¢Ë͵½·þÎñÆ÷²¢´¥·¢Ò³ÉϵÄʼþ¡£
Ò»¡¢±³¾°
¿ÉʹÓà Button Web ·þÎñÆ÷¿Ø¼þΪÓû§ÌṩÏò·þÎñÆ÷·¢ËÍÒ³µÄÄÜÁ¦¡£¸Ã¿Ø¼þ»áÔÚ·þÎñÆ÷´úÂëÖд¥·¢Ò»¸öʼþ£¬Äú¿ÉÒÔ´¦Àí¸ÃʼþÀ´ÏìÓ¦»Ø·¢¡£ÀýÈ磬Óû§¿ÉÒÔָʾÒÑÍê³É±íµ¥»òÏ£ÍûÖ´ÐÐÌض¨µÄÃüÁî¡£
AS ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ