using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.Services;
public partial class Login : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) {
using System; using System.Web; using System.Collections.Generic;
public class CheckUserName : IHttpHandler {
public void ProcessRequest (HttpContext context) { context.Response.ContentType = "text/plain"; string username = context.Request.Params["username"].ToString(); int flag = Check(username); context.Response.Write(flag.ToString()); }
public int Check(string name) { int flag = 0; List<YD.Model.F_RedistUser> userlist = new YD.BLL.F_RedistUser().GetList("*", "ispass=0 and uid='"+name.Trim()+"'","");