I have an application where the values in the text field are sent to the database.
For example I have a form with one field (text box). When I press Ok button then t
Hope this will help you ...
public static string DoQuotes(string sql) { if (sql == null) return ""; else return sql.Replace("'", "''"); }