how do create a repeater
Answers were Sorted based on User's Feedback
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 |
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 |
What are public and private assemblies ?
What is Ienumerable
how to change row background color in gridview
What is the use of CLR in .NET?
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
what are the things we generally declare in session_start , application_start ?
Can you explain update progress control?
What is msil, and why should my developers need an appreciation of it if at all?
How do I write to the application configuration file at runtime?
How can implement drag and drop using atlas?
How will you do windows authentication and what is the namespace?