Homeasp.net how to replace special characters in asp.net using c# byAdmin •March 02, 2012 0 below code is the easiest way to replace the code in asp.net using c# code for aspx.cs file. TxtBox1.Text.Replace(",", ""); Tags: asp.net Facebook Twitter