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 |
Explain COM with example?
IN C# if we click a field in the dropdownlist then i have to get the respected field details in the next textbox..........
How many types of languages does .net support? name at least 10-15?
12 Answers Interac, Six Sigma, TechUnity,
Can you explain update progress control?
Explain 'managed' mean in the .NET context
Can you give an example of when it would be appropriate to use a web service as opposed to a non-serviced .NET component
Explain Intermediate Language?
Explain the purpose of cache? How is it used? : .NET Architecture
Can you explain server controls in atlas?
Explain .net mobile events? : Microsoft dot net mobile
Difference between type constructor and instance constructor?
7. Oop-Diff B/w Interfacse and abstract class.