Print Page | Close Window

Counter row in a datagrid

Printed From: Web Wiz Forums
Category: General Discussion
Forum Name: ASP.NET Discussion
Forum Description: Discussion and chat on ASP.NET related topics.
URL: https://forums.webwiz.net/forum_posts.asp?TID=3643
Printed Date: 28 March 2026 at 5:58pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Counter row in a datagrid
Posted By: pnp!
Subject: Counter row in a datagrid
Date Posted: 18 June 2003 at 12:45pm

I have a datagrid and I want to make a counter of each row . Ie:

Counter Data
1 row 1 data
2 row 2 data
3 row 3 data


I want to build the "counter" value dinamically (it's not stored on the database).

Do someone know how to do it?

Thanks in advance!




Replies:
Posted By: MorningZ
Date Posted: 20 June 2003 at 2:53pm
so as you are iterating through the Datagrid, you want a column with a number incrementing?

-------------
Contribute to the working anarchy we fondly call the Internet



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net