cmd.CommandText = " UPDATE Pension_Master( ppo_no, p_name,P_cat,wshd, address, dob, state_employ, depart, type_pen, date_retire, date_commence, rate_pension, place_payment, m_cer, l_cer, e_cer, validfrom, validto ) SET Values ('" & TextBox1.Text & "','" & TextBox2.Text & "', '" & TextBox5.Text & "', '" & TextBox3.Text & "', '" & TextBox8.Text & "','" & ComboBox6.Text & "', '" & TextBox7.Text & "', '" & DateTimePicker5.Value & "','" & DateTimePicker6.Value & "','" & DateTimePicker2.Value & "', '" & DateTimePicker3.Value & "','" & TextBox6.Text & "','" & TextBox4.Text & "' WHERE auto_genrate = '" & ComboBox1.Text & "'"
SET Values (
UPDATE EMPLOYEE SET (WORKDEPT, PHONENO, JOB) = ('D11', '7213', 'DESIGNER') WHERE EMPNO = '000270'
update MyEmployees set columnname1='value1',column2='Value2',column3='value3' where auto_genrate='Pension_Maste'
Update table1 set col2 = "xyz" ,col3 = "pqr" WHERE col1 = "abc"
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)