hi
I define textbox and label in page:
<asp:TextBox ID="TxtPhone" runat="server" TextMode="MultiLine" CssClass="txtPH"></asp:TextBox>
<asp:Label ID="Lblcount" runat="server" CssClass="lblTsh1"></asp:Label>
here users can enter phone number now I want when users enter phone number and press enter to go next line to type other number it will count every number (line) and dispaly in Lblcount like below:
Count of number:2
09865632311
03566546546
01545846545
|
Count of number:3
how I can do it?
Best regards
neda