databound dropdown
databound dropdown
databound dropdown
databound dropdown
databound dropdown
databound dropdown databound dropdown databound dropdown databound dropdown databound dropdown databound dropdown databound dropdown databound dropdown
databound dropdown databound dropdown
databound dropdown
Go Back  Xtreme Visual Basic Talk > > > databound dropdown


Reply
 
Thread Tools Display Modes
  #1  
Old 12-17-2003, 12:58 PM
garrydawkins garrydawkins is offline
Regular
 
Join Date: Feb 2003
Location: DC
Posts: 55
Angry databound dropdown


I have a databound field that will not show the table data I want. I setup the properties correctly by using the walkthru from http://msdn.microsoft.com/library/d...Page
.asphttp://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbcon/html/ vbwlkWalkthroughDisplayingDataInGridInWebFormsPage
.asp
this link. What Am I doing wrong?


__________________
Reply With Quote
  #2  
Old 12-17-2003, 01:19 PM
reboot's Avatar
rebootdatabound dropdown reboot is offline
Keeper of foo

Retired Moderator
* Guru *
 
Join Date: Nov 2001
Location: Graceland
Posts: 15,614
Default

Your link gives a 404 error.
__________________
~ Quod non mortiferum, fortiorem me facit ~

Avatar by lebb
Reply With Quote
  #3  
Old 12-17-2003, 01:23 PM
garrydawkins garrydawkins is offline
Regular
 
Join Date: Feb 2003
Location: DC
Posts: 55
Default this is the

Quote:
Originally Posted by reboot
Your link gives a 404 error.


Visual Basic and Visual C# Concepts

Walkthrough: Displaying Data in a Web Forms Page
This is the walk thru I used for a reference on the page. In particular"Creating and Configuring a Dataset
In this walkthrough, you will add a dataset to the page. The dataset will contain a single table, the Categories table. (A dataset can contain multiple tables, but in this walkthrough it will contain just one table.)

The dataset does not already exist. Instead of adding it manually to the form, you will perform the following set of steps:
Create a data adapter using a wizard. The adapter contains SQL statements used to read and write database information. The wizard helps you define the SQL statements you need. If necessary, the wizard also creates a connection to the database.
Generate the dataset schema. In this process, you will have Visual Studio create a new dataset class based on the tables and columns you are accessing. When you generate the dataset class, you will also add an instance of it to the form.
It is important that you follow all the procedures in this section. Otherwise your page will not have the dataset that you will be using in subsequent parts of the walkthrough.

For details on data adapters, see Introduction to Data Adapters. For details about datasets, see Introduction to Datasets.

Configuring a Data Connection and Data Adapter
To begin, you create a data adapter that contains the SQL statement used to populate the dataset later. As part of this process, you define a connection to access a database. You configure the data adapter using a wizard, which makes it easy to create the SQL statements you need for data access.

Note When the wizard is done, you must continue to the next section in order to generate a dataset and complete the data access portion of your form.
To create the data connection and data adapter

From the Data tab of the Toolbox, drag an OleDbDataAdapter object onto the form.
Note You could also use the SqlDataAdapter, which is optimized for working with SQL Server 7.0 or later. In this walkthrough, you use the OleDbDataAdapter because it is more generic, providing ADO.NET access to any OLE DB-compatible data source."
Reply With Quote
  #4  
Old 12-17-2003, 04:09 PM
Shurik12databound dropdown Shurik12 is offline
Steppe Walker

Retired Moderator
* Expert *
 
Join Date: Jul 2002
Location: Ukraine/Russia/Belgium
Posts: 7,227
Default

Hi,

Could you eventually show the code and tell where it debugs. Ohterwise it's a kind of difficult even to guess...

Regards,
Shurik.
Reply With Quote
  #5  
Old 12-18-2003, 07:17 AM
garrydawkins garrydawkins is offline
Regular
 
Join Date: Feb 2003
Location: DC
Posts: 55
Wink Dropdown

Quote:
Originally Posted by Shurik12
Hi,

Could you eventually show the code and tell where it debugs. Ohterwise it's a kind of difficult even to guess...

Regards,
Shurik.

Attached Files
File Type: rtf Public Class NPDInstitutionInformation.rtf (15.5 KB, 9 views)
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Filling cells according to dropdown list selections biaz Excel 4 11-28-2003 04:33 AM
Choose a table from DB from static HTML dropdown mountainbiking Web Programming 5 11-05-2003 04:44 PM
Make the Toolbar dropdown .. well... Dropdown Medic General 3 05-30-2003 09:42 AM
Databound combo generates list of a second databound combo jpetiot Database and Reporting 7 06-10-2002 11:01 AM
Auto Dropdown PendulumMan Database and Reporting 0 02-16-2001 10:03 AM

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
databound dropdown
databound dropdown
databound dropdown databound dropdown
databound dropdown
databound dropdown
databound dropdown databound dropdown databound dropdown databound dropdown databound dropdown databound dropdown databound dropdown
databound dropdown
databound dropdown
 
databound dropdown
databound dropdown
 
-->