Sidhartha Patnaik

Sidhartha Patnaik

  • NA
  • 516
  • 7.5k

repeater control

Apr 5 2017 4:11 AM
Hello sir,
How to count the number of textbox is null or not null 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 which textbox is null or not null between these two textbox ?
 
 
Thanking you
Sidhartha Patnaik.

Answers (5)