![]() |
Ajax.net
1.Web.config file ,Supra Skytop II Shoes tag added :
<add verb = POST, GET : Ajax.Utility.RegisterTypeForAjax (typeof (Register)); 3.Sql.cs class has a means CheckID (name), check whether the name already exists in the database ; 4.Register.aspx code-behind document in a way : [Ajax.AjaxMethod] public string CheckName (string name) { Sql sql = fashionable Sql ( ); return sql.CheckID (label); } 5.Register.aspx to join the HTML script children : 6.Register.aspx page in a txt carton txtName, an HTML button btnCheck, properties of the btnCheck oncleck merit defined in tread 4 to fill the function Check (); only so tiny ... I will also use this step is probably no agreeable .. of kid . made here for likewise available because your reference .. I forgot to look at when ..- - | Note : Register.aspx is your own login page . Sql.cs is the data control floor . |
All times are GMT. The time now is 08:33 PM. |
Powered by vBulletin Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Free Advertising Forums | Free Advertising Message Boards | Post Free Ads Forum