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 |
.net platform independent or dependent?
What is the procedure on hardware that converts the ascii value to binary? : .NET Architecture
How will you do windows authentication and what is the namespace?
readonly syntax ?
Write a query Where,Groupby,having clauses?
How cache is used? : Dot net architecture
how to set the startup position of the form?
Explain <mobile:link> element .net mobile with example? : Microsoft dot net mobile
where should I put this information then?
Explain the differences between Server-side and Client-side code?
What is IL code, CLR, CTS, GAC & GC?
What is the problem with .net generics?