in this post, you can Convert rupees or price to the words. here text changed event you have write this code.
.aspx code
.aspx code
<tr>
<td align="right" class="style15">
Amount Paid :
</td>
<td align="left" class="style17">
<asp:TextBox ID="txtamntpaying" runat="server" CssClass="ttextbox1" AutoPostBack="True"
OnTextChanged="txtamntpaying_TextChanged"></asp:TextBox>
</td>
<td colspan="1" align="right" class="style11">
Amount in Words :
</td>
<td align="left" colspan="3">
<asp:TextBox ID="txtamtinword" runat="server" CssClass="ttextbox1" ReadOnly="True"
Width="128px"></asp:TextBox>
</td>
</tr>
aspx.cs
using Num2Wrd;
protected void txtamntpaying_TextChanged(object sender, EventArgse)
{
try
{
txtamtinword.Text = num.changeCurrencyToWords(Convert.ToDouble(txtamntpaying.Text));
}
catch (Exception ex)
{
Response.Write(ex.Message);
}
}