What is wrong w/ this code? Obj values passed to dataset...

Here is what I want to do:
Pass the value of these objects to predefined columns in a dataset (then update datasource)

DateTimePicker.Value ' databinded to date column
Radiobutton.checked ' databinded to criteria column
Listbox.SelectedValue ' databinded to area column
Combobox.SelectedValue ' databinded to emp column
Textbox.Text 'databinded to desc column
NumericUpDown.Text 'databinded to score column

i am using a OleDb. The Oledbadapter and OledbConnection have already been set up. When I uses this code new rows are added to the dataset but they are all "null" values.

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Catch ex As Exception
MsgBox("Error: " & ex.Source & ":", MsgBoxStyle.Critical)

End Try

What step am i missing in order to get the obj values passed to the dataset?
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


In this Discussion