Programming Tips

Programming Tips for .NET Guys !

1. How to handle single quote (‘) during insertion and updation ? Suppose there is a text box in form and you want to handle single quote ( ‘ ) during insertion and updation. string StrValue=this.TextBox1.Text; StrValue=StrValue.Replace(“‘”,”””); 2. How to handle maximum length in multi line text box ? Suppose there is a multi line text Programming Tips for .NET Guys !