Sidhartha Patnaik

Sidhartha Patnaik

  • 1.2k
  • 516
  • 8.3k

repeater control

Apr 5 2017 3:03 AM
Hello sir,
How to count the number of textbox inside a repeater control after retriving data from database.
 
my .aspx page
===========
 
<asp:repeater ID="Repeater1" runat="server">
<ItemTemplate>
---- and some Label controls----- 
<asp:TextBox ID="TextBox1" runat="server"></asp:TextBox> 
</ItemTemplate> 
 
Due to there are two datas in database the textbox appears twice. So How to count these two textbox ?
 
Thanking you
Sidhartha Patnaik. 
 
 
 

Answers (2)