Notify icon to all employee computer's when adding new employee

Posted by Ahmedsa under C# on 11/20/2014 | Points: 10 | Views : 819 | Status : [Member] | Replies : 0
Hi guys I need to make notification icon to any computers in Hr department when i added new Employee

because my employee in my company forget to tell each others about any new employee added

so that some process will by delayed


IF i have 4 computers in HR Department and 4 computers connected by DOMAIN
computer 1 ip

computer 2 ip

computer 3 ip

computer 4 ip

and computer 1 his ip added new Employee successfully

after added employee computer 2 AND computer 3 AND computer 4 must have notification from computer 1

that new employee added

SqlConnection con = new SqlConnection();
cmd = new SqlCommand("INSERT_EmployeEa12", con);
cmd.CommandType = CommandType.StoredProcedure;
cmd.Parameters.AddWithValue("@DriverID", textBox1.Text);
cmd.Parameters.AddWithValue("@DriverName", textBox2.Text);
cmd.Parameters.AddWithValue("@EmplyeeName", textBox18.Text);
cmd.Parameters.AddWithValue("@ResidentNo", textBox6.Text);
cmd.Parameters.AddWithValue("@PlaceOfBirth", textBox17.Text);
cmd.Parameters.AddWithValue("@PassportNo", textBox21.Text);
int n = cmd.ExecuteNonQuery();
if (n > 0)
MessageBox.Show("record inserted Success");
MessageBox.Show("record inserted Failed");
Code insert OK working but my problem how to implement notification for new Employee added


(No response found.)

Login to post response