THANKS FOR YOUR REPLY , basically i created this class and database connection plus forms whoever i click the save button it dosenot executed , maybe to null values i added into the statement :
THIS THE CONNECTION
1- DBeMPLOYEE:
string sql = "INSERT INTO employee_table VALUES(@EmpName,@RegNo,@Job_Tile,@Position,@Hiring_Date,@Country,@Birthdate,@Gender,@Phone,@Address,@Photo,@DeptId,NULL)";
2- THIS INSERT statement in the form where we want to execute through click "save" :
string query ="INSERT INTO employee_table(EmpName,RegNo,Job_Title,Position,Hiring_Date,Country,Birthdate,Gender,Phone,Address,Photo,DeptID)Values('" + this.textBox_EmpName.Text + "','" + this.textBox_JopTitle.Text + "','" + this.textBox_Position.Text + "','" + this.comboBox_Dept.Text + "','" + this.Cbox_Country.Text + "','" + this.textBox_Hiringdate.Text + "','" + this.textBox_phone.Text + "','" + this.textBox_RegNo.Text + "','" + this.textBox_Birthdate.Text + "','" + this.textBox_Address.Text + "','" + this.pictureBox_employee.Image + "','" + this.pictureBox_employee.Image + "')";
so mayube this the issue in the statement ?