Hi All,
I was wondering if someone could help me with populating a listbox with values from a Database.
I am fairly new to C# and programming in general.
Basically, I have a table of values stored in an oracle database that I would like a listbox on my page to reflect.
I am assuming that I have to create a connection and use a select statement to get what I want from the database, bind the data to a datasource and then bind the datasoure to the listbox.
The problem is is that I don't know the syntax. Would someone be able to help me out at all?
Cheers
I was wondering if someone could help me with populating a listbox with values from a Database.
I am fairly new to C# and programming in general.
Basically, I have a table of values stored in an oracle database that I would like a listbox on my page to reflect.
I am assuming that I have to create a connection and use a select statement to get what I want from the database, bind the data to a datasource and then bind the datasoure to the listbox.
The problem is is that I don't know the syntax. Would someone be able to help me out at all?
Cheers