put break in the below line and debug plz,
I think this function have the code!!!!
success = empDB.AddNewEmployee(txtfname.Text.Trim(), txtmname.Text.Trim(), txtlname.Text.Trim(), dob, ddlgender.Text, txtaddress.Text.Trim(), txtmobile.Text.Trim(), txtphone.Text.Trim(), txtusername.Text.Trim(), txtpwd.Text.Trim(),txtsalary.Text.Trim());