View Single Post
  #3 (permalink)  
Old March 23rd, 2005, 03:27 PM
sirandre007 sirandre007 is offline
Registered User
 
Join Date: Jan 2004
Location: Bath, MI, USA.
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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?



Reply With Quote