| |

VerySource

 Forgot password?
 Register
Search
View: 682|Reply: 3

How do I number each line in the repeater? The first line displays 1. and the second line displays 2., ........

[Copy link]

1

Threads

1

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 Invalid IP Address

Post time: 2020-1-6 10:10:01
| Show all posts |Read mode
There is a Repeater

There are 5 rows of data

 Want to add 1.
             2.
             3.
             4.
             5.

Why did you add it?
Reply

Use magic Report

0

Threads

322

Posts

115.00

Credits

Newbie

Rank: 1

Credits
115.00

 China

Post time: 2020-1-6 11:39:01
| Show all posts
<% # ((RepeaterItem) Container) .ItemIndex + 1%>
Reply

Use magic Report

0

Threads

1

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2020-2-9 18:30:01
| Show all posts
<% # repeaterId.Items.Count + 1%>
Reply

Use magic Report

0

Threads

2

Posts

3.00

Credits

Newbie

Rank: 1

Credits
3.00

 Israel

Post time: 2020-2-19 13:45:01
| Show all posts
up
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

Contact us|Archive|Mobile|CopyRight © 2008-2023|verysource.com ( 京ICP备17048824号-1 )

Quick Reply To Top Return to the list