Hi,
When we use repeater control in asp.net ?
When we use repeater control in asp.net
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Andrew FensterRank #983 · 2K reputationPosted Aug 26, 2011, 7:15 AM EDT
Suppose you have a list of employees, with name, address, phone, email, and you want to display them in some format other than a grid. The repeater lets you define a template. For example, you might display:
Name
Address
Email
Phone
or
Name (Title)
Address
Phone / Email
The repeater lets you define a layout for each record and then bind a list of records to it. You can add controls if you want. For example, you could make the email editable by putting it in a text box.
The repeater can be very handy.