Wrox Home  
Search P2P Archive for: Go

  Return to Index  

aspx_beginners thread: Please Help!!!


Message #1 by "Tim Farrell" <timothy.farrell@c...> on Mon, 3 Jun 2002 15:23:55
Hello,

My situation is that I am atempting to databind a dropdownlist via the IDE 
and I am getting mixed results depending on the order in which I institute 
the binding.  Does anyone know what is the correct process via the IDE in 
setting up a databound dropdownlist?

Process 1:
1. Drag in the sqladapter control (which builds the connection 
automatically).  Configure the adapter.
2. Drag in the dropdownlist control.
3. Generate the dataset via the sqladapter.
4. Bind the control to the dataset.

I get the following error: Dataset1 is not declared.

I get no errors via the IDE.

Process 2.
1. Drag in the sqladapter control (which builds the connection 
automatically).  Configure the adapter.
2. Generate the dataset via the sqladapter.
3. Drag in the dropdownlist control.
4. Bind the control to the dataset.

I get the dropdownlist control without data.

I get no errors via the IDE.

Currently I have withheld the publishing of the code side of things only 
becuase I am really attempting to learn the ide since MS seems to boast 
that it will greatly streamline the production process.  However, if 
anyone would like to see if I will post it immediately.

Thank you all very much!

Sincerely,

Tim

I get the control without the data inside.

  Return to Index