User288213138 posted
Hi jsshivalik,
According to your description, I wrote a demo for you as reference.
The ToString() method returns a string "("#,##0.00")" for this object.
Note: You need to set the property of the TextBox control AutoPostBack="true". Because its value need interact with the server.
The code:
<asp:TextBox ID="TextBox1" runat="server" OnTextChanged="TextBox1_TextChanged" AutoPostBack="true"></asp:TextBox>
protected void TextBox1_TextChanged(object sender, EventArgs e)
{
if (!string.IsNullOrEmpty(TextBox1.Text.ToString()))
{
String Input = TextBox1.Text;
TextBox1.Text=Convert.ToDecimal(Input).ToString("#,##0.00");
}
}
The result:

Best regards,
Sam