Ask the DotNetJunkies: Dynamically Populating An ASP.NET ListBox
Details Related Types
Site:  DotNetJunkies
Original URL:  http://www.dotnetjunkies.com/Tutorial/71339657-B922-47BE-8A99-C05F51172567.dcik
Summary:
When dynamically populating a list box using listbox.items.add, asp.net generates the same string for the HTML tag OPTION's value and text. In the past, I would put a table key in the value while filling the HTML text with various information. What are methods for splitting the listbox attributes? The .net framework examples do not address this type of dynamic filling of the listbox. Thanks, Ken (your interview on MSDN was great)
System.Data.DataTable
System.Data.DataView
System.EventArgs
System.Object
System.Web.UI.WebControls.DropDownList
System.Web.UI.WebControls.ListBox
System.Web.UI.WebControls.ListItem
System.Web.UI.WebControls.ListItemCollection
System.Windows.Forms.ListBox
Ad
MBR BootFX
Best-of-breed application framework for .NET projects, developed by Matthew Baxter-Reynolds and MBR IT
 
 Copyright © Matthew Baxter-Reynolds 2001-2008. '.NET 247 Software Development Services' is a trading style of MBR IT Solutions Ltd.
Contact Us - Terms of Use - Privacy Policy - www.dotnet247.com