EntityMpdb1 obentitympdb1 = new EntityMpdb1(); BalLoginTable obupdatepensioner = new BalLoginTable(); DataSet dspensionrecord = new DataSet(); BalLoginTable obbalpensionrecord = new BalLoginTable(); try { obentitympdb1.Authority_No = Txtauthorityno.Text; Match match = Regex.Match(Txtauthoritydate.Text, @"^([1-9]|0[1-9]|1[0-2])[- / .]([1-9]|0[1-9]|1[0-9]|2[0-9]|3[0-1])[- / .](1[9][0-9][0-9]|2[0][0-9][0-9]|3[0][0-9][0-9])$"); if (match.Success) { string val = match.Groups[1].Value; } else { spstartdate.InnerText = "Please enter correct date"; } obupdatepensioner.updatepensionderdetail(obentitympdb1); } catch { }
ClientScript.RegisterStartupScript("msg", "alert('Enter valid UserName and Password.');", true); txtUserName.Text = ""; txtPassword.Text = ""; txtUserName.Focus();
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)