ÎÒÏÖÔÚÓÐÒ»¸öÖ÷Õ¾ºÍÒ»¸ö·ÖÕ¾,¶¼ÊǶÀÁ¢ÓòÃû,µ«Êý¾Ý¿âÊǶÁͬһ¸öµÄ,
µ«Á½¸öÖ÷Õ¾ºÍÀà¿â³ÌÐò¶¼ÊÇÒ»ÑùµÄ,Àà¿â³ÌÐòÔõô¹²ÓÃÆðÀ´
ÔÚ¿ª·¢½×¶Î£¬Ìí¼ÓÒýÓþͿÉÒÔ°É£¿
Èç¹ûÊDz¿Êð£¬Ö»ÒªÔÚͬһ¸ö·þÎñÆ÷ÉÏ£¬°ÑÀà¿â¶¼·ÅÔÚWindows/system32ÀïÃæ¾Í¿ÉÒÔ¡£
ÊÔÊÔ°É
ÊÇÔÚ¿ª·¢½×¶Î
ÓÒ»÷½â¾ö·½°¸¸ùĿ¼->"Ìí¼Ó"-> ......
¸ÕѧÕâ¸ö£¬ËùÒÔÒ»¶ÑÎÊÌâÊÇûÃ÷°×µÄ
ÉèÖÃÁËCSSµÄÑùʽ£¬¸ü¸ÄΪÁ˾ø¶Ô¶¨Î»
µ«ÊÇÓÐʱºò¿Ø¼þ»¹ÊÇû°ì·¨Í϶¯···Ò»»á¿ÉÒÔÒ»»á²»¿ÉÒÔµÄÕâÊÇΪʲô°¡£¿
ÎÒÓõÄÊÇVS2008
²»ÊǺÜÃ÷°×£¬ÏÖÔÚÊÇÓÐÐèÒªËùÒÔҪѧÏÂÕâ¸ö
»¹Çë¸÷λǰ±²¶à¶àÖ¸µã°¡£¡Ð»Ð»°¡
¿Ø¼þÊÇ·ÅÔÚÒ³ÃæÀïµÄ ÓÐÓÃtable»òdivÀ´¿ØÖÆλÖÃµÄ ² ......
ÎÒÓÃC#±àasp.netÍøÒ³¡£ÔÚÒ»¸ö°´Å¥button1ÖУ¬ÓÐÒ»¶Î´úÂëÔËÐÐʱ¼ä½Ï³¤£¬ÓÚÊÇÎÒÏëÔÚ°´Å¥°´ÏÂÖ®ºó£¬ÓÃÒ»¸ölabel1À´ÏÔʾһС¶Î×Ö·û£ºlabel1.text="ÕýÔÚ²éѯÖУ¬ÇëÉÔµÈ..."£¬È»ºóÔÚbutton1´úÂëÖ´ÐеÄ×îºóÒ»ÐдúÂëÉÏÔÙÏûÈ¥label×Ö·û£ºlabel1.text="".µ«ÔËÐнá¹ûÈ´ÊÇûÓÐÏÔʾlabel1µÄÈκδúÂ룬ÎÒ½«ÏûÈ¥label1 ......
ÀýÈçÓÐÁ½¶Î´úÂë
FirstPageCodeBehind.aspx
HTML code:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="FirstPageCodeBehind.aspx.cs" Inherits="FirstPageCodeBehind" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" ......
C# code:
string sql = "select * from userinfo where uname = '" + uname + "' and upassword = '" + upassword + "'";
//ºÍ
string sql = "select * from userinfo where uname = @uname and upassword = @upassword";
MySqlParameter[] paras = new MySqlParameter[]
{
......
ÎʸöÎÊÌ⣬×öºÃµÄasp.netÍøÕ¾Òª¼ÙÉèÔÚftp·þÎñÆ÷ÉÏ£¿
ÎÒÒѾÉú³ÉºÃÍøÕ¾£¬Ö±½Ó¿½±´µ½ftp·þÎñÆ÷ÉÏÊÇô£¿
½¨ÒéÈÓµ½iisÉÏ
Ò»°ã¼ÜÉèµ½·þÎñÆ÷µÄiisÖС£
Ôõô¼ÙÉèµ½IISÖÐÄØ£¿
³ÁÁË£¿
µÚÒ»²½£ºÖØбàÒë³ÌÐòÈ·ÈϳÌÐòÎÞ´í
µÚ¶þ²½£º·¢²¼ÍøÕ¾
µÚÈý²½£ºÉÏ´«µ½FTP·þÎñÆ÷
µÚËIJ½£ºÈ·ÈÏBinÎļþ¼°web.cofigÎļþ¶ ......