That the only code for my form.. and there is 2 pic that show what is the problem i having now...
i am using the dataset to drag and drop data into the form ...
i need help !!.. when operator ID and Employee ID is selected from the combobox ...
i click the save button(available once i drop in the data grid or create a new save button)...
it will add into the grid where ... grid , operator ID and employee ID all are from different table...
pls advice .. thanks
i am using the dataset to drag and drop data into the form ...
VB.NET:
Private Sub CallTimeBindingNavigatorSaveItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles CallTimeBindingNavigatorSaveItem.Click
Me.Validate()
Me.CallTimeBindingSource.EndEdit()
Me.CallTimeTableAdapter.Update(Me.EMP_OP_DataSet.CallTime)
End Sub
Private Sub Form2_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
'TODO: This line of code loads data into the 'EMP_OP_DataSet._Operator' table. You can move, or remove it, as needed.
Me.OperatorTableAdapter.Fill(Me.EMP_OP_DataSet._Operator)
'TODO: This line of code loads data into the 'EMP_OP_DataSet.Employee' table. You can move, or remove it, as needed.
Me.EmployeeTableAdapter.Fill(Me.EMP_OP_DataSet.Employee)
'TODO: This line of code loads data into the 'EMP_OP_DataSet.CallTime' table. You can move, or remove it, as needed.
Me.CallTimeTableAdapter.Fill(Me.EMP_OP_DataSet.CallTime)
End Sub
i need help !!.. when operator ID and Employee ID is selected from the combobox ...
i click the save button(available once i drop in the data grid or create a new save button)...
it will add into the grid where ... grid , operator ID and employee ID all are from different table...
pls advice .. thanks
Attachments
Last edited by a moderator: