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

asp.net »Øµ÷¼¼Êõ

¿´ÁËasp.net µÄ»Øµ÷¼¼Êõºó²»ÊǺÜÀí½â¡£»¹ÊǰÑдµÄ¶«Î÷ÌùÏ£¬×Ô¼ºÒÔºóѧϰʱºò¶à¿´¿´¡£Ç°Ì¨index.aspxÒ³<%@ Page Language="C#" AutoEventWireup="true" CodeFile="index.aspx.cs" Inherits="_Default" %>
<%@ Import Namespace = "System.Text" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>Óû§×¢²á</title>
<mce:script language ="javascript"><!--
//¿Í»§¶ËÖ´Ðеķ½·¨
function Success(args,context)
{
message.innerText = args;
}
//ÏÂÃæµÄ·½·¨Êǵ±½ÓÊÕ·þÎñÆ÷·½·¨´¦ÀíµÄ½á¹û·¢ÉúÒ쳣ʱµ÷Óõķ½·¨
function Error(args,context)
{
message.innerText = '·¢ÉúÁËÒì³£';
}

// --></mce:script>
</head>
<body>
<form id="form1" runat="server">
<div>
<table border = "1" cellpadding="0" cellspacing = "0" width = "400px">
<tr>
<td width = "100px">Óû§Ãû</td><td><input type = "text" size = "10" maxlength = "20"
id = "txtUserName" onblur = "CallServerMethod(txtUserName.value,null)" /><span id = "message"></span></td>
</tr>
<tr>
<td>ÃÜÂë</td><td><input type = "password" size = "10" maxlength = "20" id = "txtPwd" /></td>
</tr>
</table>
</div>
</form>
</body>
</html>
ºǫ́index.aspx.cs
using System;
using System.Configuration;
using System.Data;
using System.Linq;
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.Xml.Linq;
public partial class _Default : System.Web.UI.Page, ICallbackEventHandler
{
string result = "


Ïà¹ØÎĵµ£º

asp.net ·µ»ØÉÏÒ»Ò³µÄʵÏÖ·½·¨

·µ»ØÉÏÒ»Ò³µÄÕâ¸ö¶«¶«ÔÚÎÒÃÇ×öÏîÄ¿µÄʱºòÒ»°ãÊÇÓÃÓÚÌîдÍê±íµ¥ºóÈ·ÈϵÄʱºò£¬ÓжÔÔ­À´ÊäÈëµÄÊý¾Ý½øÐÐÐÞ¸Äʱ
Óõ쬻òÕßÊÇÒòÎªÍøÕ¾ÎªÁË·½±ãä¯ÀÀÕß¶øÓÐÐÄÌí¼ÓµÄÒ»¸ö¶«¶«£¬Ò»°ãÕâÖÖ¹¦ÄܵÄʵÏÖÔÚASP.netÖж¼ÊÇÓÃÒ»¸öbuttonµÄ¿Ø¼þÀ´ÊµÏֵģ¬ÊµÏֵķ½·¨ÓкÜ
¶à£¬½ñÌìÇ¡ºÃÔÚ×öÏîĿʱÅöµ½ÒªÓÃÕâ¸ö¶«¶«£¬ÎҾͰÑÄÜʵÏÖ" · ......

ASP.NETÖеÄsession´æ´¢Ä£Ê½

ÔÚasp.netÖеÄSession´æ´¢·½Ê½²»ÏóaspÄÇÑùµ¥Ò»£¬Ò»¹²ÌṩÁËÈýÖÖ´æ´¢·½Ê½£¬ÓÉÓÚ×î½üÒ»¸ö2000¶àÈËʹÓõÄwebÈí¼þ³öÏÖÁ˹ÊÕÏ£¬Óû§Ã¿ÌìÔçÉÏÔÚijһʱ¿Ì³öÏÖÄÑÒԵǽÏÖÏ󣬽Ó×ÅSession¶ªÖµ³öÏÖ£¬Ö»ÓÐÖØÆôIIS,»ò»úÆ÷.Õâʱ³ÌÐò»Ö¸´Õý³£ÁË.ÕûÌì¶¼²»»á³öÏÖͬÑùµÄÎÊÌâ £¬µ«ÊǵڶþÌìÒÀ¾É!ÕâÖÖÏÖÏó³ÖÐøÁ˺ü¸Ì죬ÎÒ¼ì²éÁËÒ»ÏÂÈÕÖ¾Îļþ£¬¸ ......

asp.netÖÐÌáÈ¡×Ö·û´®ÖÐËù°üº¬µÄÖÐÎÄ

ÒÔǰûÓÐÓöµ½£¬½ñÌìÒÔǰͬÊÂÎÊÕâ¸öÎÊÌ⣬Õû³öÀ´×öΪÊղؠ  
Ö±½ÓÌù´úÂë:
protected void Page_Load(object sender, EventArgs e)
    {
        Response.Write(SenFe_Replace("³ÁÏÂÐÄÈ¥×öºÃÿһ¼þÊÂ_2010_2_1_asp.net_ÄãÒ»¶¨ÐÐ"));
  & ......

ASP.NETʵս±Ê¼Ç£¨1£©Ìá¸Ù£¬»¶Ó­Ö¸Õý¡£

¼Æ»®ÍƳöµÄ¡¶ASP.NETʵս±Ê¼Ç¡·£¬Ìá¸ÙÈçÏ£º µÚһƪ    µäÐ͵ÄÍøÕ¾¼Ü¹¹½â¾ö·½°¸
µÚ1Õ    ϵͳĿ±ê
1.1    ÐèÇó·ÖÎö
1.2    ϵͳĿ±ê
µÚ2Õ    ϵͳ¹¦ÄÜÔ¤ÀÀ
2.1    Óû§¹ÜÀí
2.1.1. ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ