K
Kris Rockwell
Hello,
I have done the following to bind data to a DropDown box:
1. Drag SQLServer table onto web form to create data connection and data
adapter.
2. Generate dataset by right-clicking on the data adapter ad selecting
generate dataset.
3. Setting the drop down box propertied to reflect so that:
Datasource = Dataset11
Datamember = table
Datatextfield = tablerow
Datavaluefield = tablerow
When I run the application I don't generate any errors, but no data is
present in the DropDown box...Well, actually I get a drop down that is
blank.
Any ideas an what Imay be doing wrong?
Also, if I code the information, can I put it in the CodeBehind file or does
it have to be in the actual ASPX?
Thanks in advance,
Kris
I have done the following to bind data to a DropDown box:
1. Drag SQLServer table onto web form to create data connection and data
adapter.
2. Generate dataset by right-clicking on the data adapter ad selecting
generate dataset.
3. Setting the drop down box propertied to reflect so that:
Datasource = Dataset11
Datamember = table
Datatextfield = tablerow
Datavaluefield = tablerow
When I run the application I don't generate any errors, but no data is
present in the DropDown box...Well, actually I get a drop down that is
blank.
Any ideas an what Imay be doing wrong?
Also, if I code the information, can I put it in the CodeBehind file or does
it have to be in the actual ASPX?
Thanks in advance,
Kris