using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls;
public partial class CheckBoxList : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) {
} protected void Button1_Click(object sender, EventArgs e) { this.Label1.Text = this.HiddenField1.Value; } }
复制代码 代码如下:<%@ WebHandler Language="C#" Class="CheckBoxHandle" %>
using System; using System.Web; using System.Collections.Generic;
public class CheckBoxHandle : IHttpHandler { public void ProcessRequest (HttpContext context) { context.Response.ContentType = "text/plain"; string select = context.Request.QueryString["selectValue"].ToString(); if (string.IsNullOrEmpty(select)) { List
}
QQ客服
公众号
手机版
帮助中心