Multimobile Development: Building Applications for any Smartphone
Adding Blank Rows to a DataGrid
Details Related Types
Site:  DotNetJunkies
Original URL:  http://www.dotnetjunkies.com/HowTo/5FEA0ADC-D029-48BD-997F-B810AA89E9FA.dcik
Summary:
In one application I had the requirement to add a blank row after every 10 rows in a DataGrid rather than use paging. There is no in-built way to do this with the DataGrid, but it can be easily done by modifying the DataTable that the DataGrid is bound to and by writing some code in the DataGrids ItemDataBound event. This how-to article will describe how it is done.
System.Data.DataRow
System.Data.DataRowView
System.Data.DataSet
System.Data.DataTable
System.Object
System.Web.UI.WebControls.DataGrid
System.Web.UI.WebControls.DataGridItemEventArgs
System.Web.UI.WebControls.ListItem
System.Windows.Forms.DataGrid
Ad
BootFX
Reliable and powerful .NET application framework.
iOS, Android and Windows Phone Development Training and Consultancy
Hosted by RackSRV Communications
 
Multimobile Development: Building Applications for any Smartphone
Copyright © AMX Software Ltd 2008-2010. Portions copyright © Matthew Baxter-Reynolds 2001-2010. All rights reserved.
Contact Us - Terms of Use - Privacy Policy - 4.0.30129.1734