Sidhartha Patnaik

Sidhartha Patnaik

  • NA
  • 516
  • 7.6k

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)