Repeater-duplicates, which are used to show data in a generic collection
Five main templates:
1, HeaderTemplate-header template, will be loaded at the beginning of the execution once
2, FooterTemplate-foot template, load will be executed at the last time
3, ItemTemplate-item template, how many times the data source data will be repeated
4, AlternatingItemTemplate-alternating item template, alternating with the item template until the data in the data source has been repeatedly completed
Background binding Data:
1, need to find out the data
list<users> list = new Usersdata (). SelectAll ();
2. Binding display
Repeater1.datasource = list; Data point, not yet bound
Repeater1.databind (); True binding Data
Field extension:
To format the display of data:
The page calls the background function:
Property value Invocation-
Style sheet invocation-
ASP. NET repeater-repeatability