Thread: Ajax.net
View Single Post
Old 08-01-2011, 04:11 PM   #1
Q0i5m7j8p
 
Posts: n/a
Default Ajax.net

1.Web.config file ,Women FiveFingers Performa tag added :

<add verb = POST, GET :
Ajax.Utility.RegisterTypeForAjax (typeof (Register));

3.Sql.cs level has a means CheckID (name), check whether the name already exists in the database ;

4.Register.aspx code-behind file in part of :
[Ajax.AjaxMethod]
public string CheckName (string name)
{
Sql sql = fashionable Sql ( );
return sql.CheckID (name);
}

5.Register.aspx to increase the HTML script children :


6.Register.aspx page in a txt box txtName, an HTML button btnCheck,
properties of the btnCheck oncleck amount defined in tread 4 to fill the feature Check ();

only so little ... I ambition also use this step is probably no agreeable .. of children .
made ​​here because also obtainable for your reference .. I forgot to look at when ..- - |

Note : Register.aspx is your own login sheet .
Sql.cs is the file control wafer .
  Reply With Quote

Sponsored Links