Selecting an Item in a DataList using C#
Details Related Types
Site:  ASP Alliance
Original URL:  http://www.aspalliance.com/aldotnet/examples/selectitemindatalist.aspx
Summary:
In this article, we will look at a technique that allows us to generate a DataGrid (children data) based on a selection in a DropDownList (parent data). Basically, when an item is selected in the DropDownList, the page is posted back and we run a query to fill the DataGrid.
System.Data.SqlClient.SqlCommand
System.Data.SqlClient.SqlConnection
System.Data.SqlClient.SqlDataReader
System.EventArgs
System.Web.UI.MobileControls.StyleSheet
System.Web.UI.WebControls.DataGrid
System.Web.UI.WebControls.DataList
System.Web.UI.WebControls.DataListCommandEventArgs
System.Web.UI.WebControls.DropDownList
System.Web.UI.WebControls.ImageButton
System.Web.UI.WebControls.LinkButton
System.Web.UI.WebControls.TableCell
System.Web.UI.WebControls.TableRow
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