Shouldn't you really be telling us what the "mysql_real_escape_string" function does instead of having us search and find it out ?
You should use parameters when working in .NET. The parameter values will be automatically escaped for invalid characters. On Apr 28, 2:52 am, undbund <undb...@gmail.com> wrote: > Hi, I would like to know what is the C# equivalent to php > mysql_real_escape_string function. If there are no equivalent > funcitons, what functions in C# will help me attain the same results > as php mysql_real_escape_string function. > > Thanks, > undbund