Datagrid and bullets
I've setup paging on an ASP.Net form using the datagrid. Is there any way to
add 'numbered bullets' to the output i.e.
1. Result row A
2. Result row B
3. Result row C
4. Result row D
In an ASP page we did this using a For/Next and trundling through a
recordset. Will I need to do the same in .Net if I want the above formatted
RE: Datagrid and bullets
Alternative to bullets, You can add serial numbers to rows by using the event named "OnItemDataBound"
Code will be something like this..
Sub RowSerial(s object, e as DataGridItemEventArgs
If e.Item.ItemType <> ListItemType.Header The
' Add serial to cell 0 her
Hope this helps.
|All times are GMT. The time now is 04:24 PM.|
Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.