I used Visual Studio to generate the OLEDBconnection, OLEDBDataAdapter, then clicked the Generate Dataset under the OLEDBAdapter Property window to create the dataset dsLogin1.
I then added a dropdownlist from the toolbox, and changed the properties listed to, DataMember: tblLoginInfo, DataSources: Login1, DataTextField: EmpID, DataValueField: EmpID .
When I click preview in browser it does not show any data. My question is on the dropdownlist should I use the databind property or do I need to code databind() or fill dataset in my On_Page Load code?
|