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 is the difference between metadata and menifest ?
what is the need of vss to developer?
What does the term "green architecture" mean? : Dot net architecture
5. Wcf- Session Managment
Hi, this is satish, i have more than 2 years of exp. on Microsoft .Net Technologies like C#, ASP.Net, VB.Net. But i am willing to change my platform into Testing tool. give me best suggestion for me.
I can't be bothered with cas. Can I turn it off?
readonly syntax ?
question related to table havi colspan and row span
What are public and private assemblies ?
when garbage collector come into picture. ?
How to delete the duplicate records from table(having bulk records)?
how to find the 2nd higgest salary in the column for example take table name is employee? And also find bottom 2nd lowest salary ?
11 Answers GeoTechnology, Wipro,