Answer Posted / 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 View All Answers
Explain difference between inprocess vs out process session state? : .NET Architecture
what is sessions and cookies take one example simple way to understand
Differences between VS 2005, 2008 and 2010 ?
Which software is used for .net programming?
Define the mesi? : Dot net architecture
Explain the purpose of cache? How is it used? : Dot net architecture
What is WPF and WCF?
What is Opf3
How does .net remoting work?
readonly syntax ?
How to develop mobile applications using microsoft mobile internet toolkit (mmit) or .net mobile? : Microsoft dot net mobile
How can we perform data binding in atlas?
What is the application frame host?
What is the mesi? : Dot net architecture
Define an interrupt? : Dot net architecture