Thread: Ajax.net
View Single Post
Old 08-01-2011, 04:20 AM   #1
SW0j7k2e9gd
 
Posts: n/a
Default Ajax.net

1.Web.config file ,Vibram FiveFingers Flow tag added :

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

3.Sql.cs level has a method CheckID (name), retard if the appoint already exists in the database ;

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

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


6.Register.aspx page in a text carton txtName, an HTML button btnCheck,
properties of the btnCheck oncleck worth defined in tread 4 apt fill the feature Check ();

only so tiny ... I ambition also use this step is probably no agreeable .. of babies .
made ​​here as too obtainable as your reference .. I forgot to see at while ..- - |

Note : Register.aspx namely your own login page .
Sql.cs is the file control membrane .
  Reply With Quote

Sponsored Links