G
Guest
Hi there
I am new to VB.Net (formerly a Centura 'Gupta' programmer) and just trying to do a simple excercise out of the help to populate a couple of text fields on a form by using a parameterized query.
ie. Walkthrough 'Displaying Data in a Windows Form Using a Parameterized Query
Sounds simple but for some reason when I get to the step where you are supposed to 'Expand the (DataBindings) node, and for the Text property, expand DsAuthors1, expand authors, and select au_id from the drop-down list.
I don't have a drop down list?! It's empty
Please help me find what I'm missing here
I have the following on my form
OdbcDataAdapter with a simple select command 'SELECT MBR_SAID, MBR_SURNAME, MBR_ADDR1 FROM FHP_MBR WHERE (MBR_SAID = ?)
OdbcConnection (to an Access database
and a DataSet (dsMbr
The following code is for the button click
Private Sub Button1_Click_1(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Clic
OdbcDataAdapter1.SelectCommand.Parameters("mbr_said").Value = dfnMbr_said.Tex
dsMbr.Clear(
OdbcDataAdapter1.Fill(dsMbr
End Su
So what am I missing here please? I know it's probably simple... I just need a jumpstart
How do I bind the results of this query to the appropriate fields
I am using the VB.Net Standard edition and have therefore had to export my Oracle tables into Access for the purpose of this excercise since I believe you need the full blown Enterprise edition of Visual Studio to connect to Oracle
Thanks
Marnie
I am new to VB.Net (formerly a Centura 'Gupta' programmer) and just trying to do a simple excercise out of the help to populate a couple of text fields on a form by using a parameterized query.
ie. Walkthrough 'Displaying Data in a Windows Form Using a Parameterized Query
Sounds simple but for some reason when I get to the step where you are supposed to 'Expand the (DataBindings) node, and for the Text property, expand DsAuthors1, expand authors, and select au_id from the drop-down list.
I don't have a drop down list?! It's empty
Please help me find what I'm missing here
I have the following on my form
OdbcDataAdapter with a simple select command 'SELECT MBR_SAID, MBR_SURNAME, MBR_ADDR1 FROM FHP_MBR WHERE (MBR_SAID = ?)
OdbcConnection (to an Access database
and a DataSet (dsMbr
The following code is for the button click
Private Sub Button1_Click_1(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Clic
OdbcDataAdapter1.SelectCommand.Parameters("mbr_said").Value = dfnMbr_said.Tex
dsMbr.Clear(
OdbcDataAdapter1.Fill(dsMbr
End Su
So what am I missing here please? I know it's probably simple... I just need a jumpstart
How do I bind the results of this query to the appropriate fields
I am using the VB.Net Standard edition and have therefore had to export my Oracle tables into Access for the purpose of this excercise since I believe you need the full blown Enterprise edition of Visual Studio to connect to Oracle
Thanks
Marnie