how do create a repeater

Answers were Sorted based on User's Feedback



how do create a repeater ..

Answer / kalaikarthikaug18

by using repeater control in .net

Is This Answer Correct ?    1 Yes 0 No

how do create a repeater ..

Answer / anand k

Like this way also c=u can create Repeater

<asp:Repeater ID="Repeater1" runat="server">

<HeaderTemplate>
<table>
<tr><td>empid</td><td>empname</td></tr>

<ItemTemplate>
<tr>
<td>
<asp:Label ID="Label1" runat="server"
Text='<%#Eval(empid) %>'></asp:Label>
</td>
<td><asp:Label ID="Label2" runat="server"
Text='<%#Eval(empid) %>'></asp:Label></td>
</tr>
</ItemTemplate>
<FooterTemplate>
</table>
</FooterTemplate>

Is This Answer Correct ?    0 Yes 0 No

how do create a repeater ..

Answer / nazrul.nazi

Repeater is a dataControl like GridView and Datalist but it
need more manipulation to create it.by the below code u
can design Repeater in tabular format and give data through
sqldatasource or coding. it all up to u.




<asp:Repeater ID="Repeater1" runat="server">

<HeaderTemplate>
<table>
<tr><td>empid</td><td>empname</td></tr>
</table>
</HeaderTemplate>
<ItemTemplate>
<table>
<tr>
<td>
<asp:Label ID="Label1" runat="server"
Text='<%#Eval(empid) %>'></asp:Label>
</td>
<td><asp:Label ID="Label2" runat="server"
Text='<%#Eval(empid) %>'></asp:Label></td>
</tr>
</table>
</ItemTemplate>

</asp:Repeater>

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More Dot Net AllOther Interview Questions

What are public and private assemblies ?

0 Answers  


What is Ienumerable

1 Answers  


how to change row background color in gridview

0 Answers  


What is the use of CLR in .NET?

0 Answers   HCL,


Which is the best institute in chennai to learn DotNet? Please help.

48 Answers   HCL, Infosys, NIIT,






Explain the types of memory management? : .NET Architecture

0 Answers  


what are the things we generally declare in session_start , application_start ?

2 Answers  


Can you explain update progress control?

0 Answers  


What is msil, and why should my developers need an appreciation of it if at all?

0 Answers  


How do I write to the application configuration file at runtime?

0 Answers  


How can implement drag and drop using atlas?

0 Answers  


How will you do windows authentication and what is the namespace?

0 Answers  


Categories