MdotButler
Programmer
I need to create a function which will prepare text entered into a textbox to be used in a SQL statement. What I mean is the function will replace a single quote and replace it with two single quotes. I had done this in the past in ASP code and placed it in each form. In ASP.NET I assume there has to be a better way or place to do this.
My question is not how to accomplish this but where to place the code so it can be called from all the forms that need it.
TIA
Mark
My question is not how to accomplish this but where to place the code so it can be called from all the forms that need it.
TIA
Mark