Hello.
I have a problem about single quote search in C#.
I have 1 table:
ID NAME COMPANY
1 Sayre One
1' Sayre Two
In search button
if I will input 1 textbox1.text.r eplace("'","") the output is:
ID NAME COMPANY
1 Sayre One
if I will input 1' in textbox1.text.r eplace("'","") the output is:
ID NAME COMPANY
1 Sayre One
I want only the output is the same
1 = 1 Sayre One
1' = 1' Sayre Two
Please Help Me.
Thanks and God Bless
--
To be Happy is To be Yourself
I have a problem about single quote search in C#.
I have 1 table:
ID NAME COMPANY
1 Sayre One
1' Sayre Two
In search button
if I will input 1 textbox1.text.r eplace("'","") the output is:
ID NAME COMPANY
1 Sayre One
if I will input 1' in textbox1.text.r eplace("'","") the output is:
ID NAME COMPANY
1 Sayre One
I want only the output is the same
1 = 1 Sayre One
1' = 1' Sayre Two
Please Help Me.
Thanks and God Bless
--
To be Happy is To be Yourself
Comment