I am using the code below to populate the ComboBox control and the Data GridView Control
Private Sub ComboBox1_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ComboBox1.SelectedIndexChanged ' Get the Parameter object and Set value With (SqlDataAdapter1.SelectCommand.Parameters) .Item("@SupplierParam").Value = _ ComboBox1.SelectedValue End With ' Clear the dataset DsRma1.Clear() ' Load the dataset using the parameter value SqlDataAdapter1.Fill(DsRma1, "RmaDetails") End Sub
the data grid has tow rows with no data , I want to input data into these two rows and then save the whole data back to the SQL database, see image
Do i need to do an Inset command , or drop a Binder navigator onto the form and then click the save button
any help would apreacited
thanks