asp.net ÃÜÂë»Ø´«ºó£¬²»¼û µÄ½â¾ö°ì·¨
asp.net ÃÜÂë»Ø´«ºó£¬²»¼û µÄ½â¾ö°ì·¨
<asp:UpdatePanel ID="UpdatePanel5" runat="server">
<ContentTemplate>
<asp:TextBox runat="server" ID="OldPassword" TextMode="Password" AutoPostBack="true" class="txtinput" ontextchanged="OldPassword_TextChanged" ></asp:TextBox><br/>
</ContentTemplate>
</asp:UpdatePanel>
Ê×Ïȸøtextbox¸³¸öÊôÐÔ¡£
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
}
this.OldPassword.Attributes.Add("value", OldPassword.Text);
}
È»ºó£¬ÔÚÆätextchangeʼþÖÐ
protected void OldPassword_TextChanged(object sender, EventArgs e)
{
this.OldPassword.Text = this.OldPassword.Attributes["value"].ToSt
Ïà¹ØÎĵµ£º
½ñÌìÔÚÓÃDataListµÄÄ£°åÁеÄʱºòÏ°¹ßÐÔµØÏñÔÚ03ÖÐÄÇÑùÈ¥¸øÄ£°åÁеİó¶¨×ֶμӸö´¦Àíº¯Êý£º
< asp:Label ID = " Label1 " runat = " server " Text = ' <%#ConvertState(Bind("Status"))%> ' ></ asp:Label >
¿ÉÊǾ¹È»³ö´í£ºµ±Ç°ÉÏÏÂÎÄÖв»´æÔÚÃû³Æ“Bind” ......
HttpHandlerʵÏÖÁËÀàËÆÓÚISAPI ExtentionµÄ¹¦ÄÜ£¬Ëû´¦ÀíÇëÇó(Request)µÄÐÅÏ¢ºÍ·¢ËÍÏìÓ¦(Response)¡£HttpHandler¹¦ÄܵÄʵÏÖͨ¹ýʵÏÖIHttpHandler½Ó¿ÚÀ´´ïµ½¡£¶øHttpModuleʵÏÖÁËÀàËÆÓÚISAPI FilterµÄ¹¦ÄÜ¡£
HttpModuleµÄʵÏÖ
HttpModulesʵÏÖÁËÀàËÆÓÚISAPI FilterµÄ¹¦ÄÜ£¬ÔÚ¿ª·¢ÉÏ£¬Í¨³£ÐèÒª¾¹ýÒÔϲ½Ö裺
±àдһ¸öÀà£¬Ê ......
¸Õ±ÏÒµ£¬×î½üÔÚ¸ã±ÏÒµÂÛÎÄ¡£
˵Æð±ÏÒµÂÛÎÄÎÒ¾ÍÍ·ÌÛ£¬ÎÒÃÇÈýÈËÒ»×飬±¾À´ÎÒÖ÷ÕÅÓÃC#д£¬Ì×ÓÃÒ»¸öÍâ¹úµÄÄ£ÐÍBalloonShopÔÚÏß¹ºÎïÍøÕ¾£¬C#ÊÇ×ÔѧµÄ¡£µ«ÊÇͬ×éµÄÒ»¸öͬѧVBѧµÃ²»´í£¬ÒªÓÃVB¡£ÎÒÏëÄãÒªÓÃVBдµÄ»°ÎÒÊDz»Ì«¶®£¬ÄÇÖ»ÄÜÄã×Ô¼ºÐ´ºÃÁË£¬ÎÒ×î¶àÒ²¾Í´î°ÑÊÖ¶øÒÑ£¬Ê¡ÐÄÁË£¬ºÎÀÖ¶ø²»ÎªÄØ£¡
×îºó×÷Æ·×ö³öÀ´»¹Ëã²»´í£¬¾Í ......
//ÒÔÏ´úÂë¸ù¾Ý±ðÈËÎÄÕºÍ×Ô¼ºÕûÀí
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.IO;
namespace WebApplication1
{
public partial class DownfFile : System.Web.UI.Page
{
p ......
Js´úÂë
var url=Service.aspx?Value=' + escape(va);
obj=CreateAJAX();
if(obj)
& ......