Hello guys, I just want to ask for some help with my program
I'm a beginner and new here
This my code : Under ButtonAdd
Dim adapter 2 as New SqlDataAdapter (SELECT 'AddOnNo', 'AddOnName' , 'Price' FROM Table1 WHERE AddOnNo = " & ComboBox1.SelectedValue,con)
adapter2. Fill(table)
txtAddOnName.text = table (0)(1)
txtAddOnPrice.text = table (0)(2)
End sub