public void saveDentist()
        {
            String firstName   = txtfirstname.Text;
            String LastName    = txtlastName.Text;
            String DentistType = ddldentistType.SelectedValue;
            String SSN         = txtssn.Text;
            String Gender      = ddlgender.SelectedValue;
            String Location    = ddlLocation.SelectedValue;

            Dentist d = new Dentist();

            d.FirstName1   = firstName;
            d.LastName1    = LastName;
            d.DentistType1 = DentistType;
            d.SSN1         = SSN;
            d.Gender1      = Gender;
            d.Location1    = Location;
            d.MiddleName1  = txtMiddleName.Text;
            d.Workexp1     = Int32.Parse(txtworkexp.Text);
            d.Phone1       = "236718236876";
            d.User_ID      = 1;
            d.Dentist_ID1  = Int32.Parse(hfdentistID.Value);

            //   dentistList.Add(d);
            d.insertDentist();

            bindGrid();
        }