Wednesday, February 22, 2012

Row Number in Data Views

A data view can be configured to display a row number when records are presented to the users. The row number will represent the index of a data row with current filters and sort order applied.

image

If the filters or sort order has changed then the same record will have a different logical row number.

image

If you want to enable the row number in a data view then select the data view in Designer and check the Show Row Number option.

image

No comments:

You can find more about Code OnTime Generator, Data Aquarium Framework, and other great products here.


© 2010 Code OnTime LLC. Intelligent code generation software for ASP.NET. Visit us at http://codeontime.com