How to add static items and results from data binding to a DropDownList control by using Visual C# .NET (312489)
The information in this article applies to:
- Microsoft ASP.NET (included with the .NET Framework 1.1)
- Microsoft Visual C# .NET (2003)
- Microsoft ASP.NET (included with the .NET Framework) 1.0
- Microsoft Visual C# .NET (2002)
This article was previously published under Q312489 For a Microsoft Visual Basic .NET version of this
article, see
314334. This article refers to the following
Microsoft .NET Framework Class Library namespace:
SUMMARYThis article demonstrates how to add static items and
data-bound items to a DropDownList control. The sample in this article populates a DropDownList control with an initial item. Requirements The
following list outlines the recommended hardware, software, network
infrastructure, and service packs that you need: - Microsoft Windows 2000 Professional, Microsoft Windows 2000
Server, Microsoft Windows 2000 Advanced Server, or Microsoft Windows
XP
- Microsoft .NET Framework
- Microsoft Visual Studio .NET
- Microsoft Internet Information Services (IIS)
- Microsoft SQL Server
REFERENCES For
more information about ASP.NET, and for a list of ASP.NET articles and
resources, click the following article number to view the article in the
Microsoft Knowledge Base: For more information about ASP.NET server controls, click
the following article number to view the article in the Microsoft Knowledge
Base: 306459
ASP.NET server controls overview
For more information about
data binding syntax and implementation with server controls in ASP.NET, click
the following article number to view the article in the Microsoft Knowledge
Base: 307860
ASP.NET data binding overview
For more information about the DropDownList class, visit the following MSDN Web site: For information about how to work with ASP.NET, see the ASP.NET
QuickStart tutorial at the following Microsoft Web site:
Modification Type: | Major | Last Reviewed: | 5/19/2006 |
---|
Keywords: | kbDatabase kbDataBinding kbHOWTOmaster kbServerControls KB312489 kbAudDeveloper |
---|
|