Quantcast
Channel: Recent Discussions — DataTables forums
Viewing all articles
Browse latest Browse all 81922

Storing Single Quotes Editor.

$
0
0

Is there a way to single quotes in the database. Below is the hack I came up with to hide the single quotes escape .

                    int locationNameFormPostion = 1;
                    string @locationName = request.Form[locationNameFormPostion].Replace("'", "`").ToUpper();
                    editor.Field(new Field("LocationName"));
                    editor.Field("LocationName").SetValue(@locationName);

Viewing all articles
Browse latest Browse all 81922

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>