User61956409 posted
Hi thepast,
Firstly, you can use ADO.NET technologies to connect/query/operate your database.
thepast
if he inserted Master save second time when he want to insert PHD Error shows "cant save PHD degree after Bachelor degree" How can i do that i want to force user to insert phd then master then bachelor but other than that show error if he try to insert big
degree after small
You can achieve it from code behind and make use of the RegisterStartupScript method to show error message to client user.
string script = "alert('cant save PHD degree after Bachelor degree');";
ClientScript.RegisterStartupScript(this.GetType(), "showerrormes", script, true);
thepast
second bart i have 2 textboxs called from and to
i want when user insert in to date before from error apears
I suggest you can valid and check if user insert from textbox first on client side via JavaScript/jQuery,
With Regards,
Fei Han