Building a Master/Detail DataGrid
Details Related Types
Site:  DotNetJunkies
Original URL:  http://www.dotnetjunkies.com/tutorials.aspx?tutorialid=135
Summary:
"I have a question regarding DataGrid. Can I bind a column of a DataGrid to another DataGrid? I have a situation where I have to display a few details in the same DataGrid on click of a HyperLink column." This can certainly be done. You are describing a master/detail DataGrid. For example, a DataGrid of customers with a column in each row that has an embdedded DataGrid of all the orders placed by that customer.
System.Data.DataSet
System.Data.DataTable
System.Data.DataView
System.Data.SqlClient.SqlDataAdapter
System.EventArgs
System.Web.UI.Page
System.Web.UI.WebControls.BoundColumn
System.Web.UI.WebControls.ButtonColumn
System.Web.UI.WebControls.DataGrid
System.Web.UI.WebControls.DataGridItem
System.Web.UI.WebControls.DataGridItemEventArgs
System.Web.UI.WebControls.GridLines
System.Web.UI.WebControls.HyperLink
System.Web.UI.WebControls.HyperLinkColumn
System.Web.UI.WebControls.TemplateColumn
System.Web.UI.WebControls.VerticalAlign
System.Windows.Forms.DataGrid
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