Click here to Skip to main content
15,901,035 members
Home / Discussions / C#
   

C#

 
AnswerRe: calling image Pin
sanforjackass24-Jan-10 23:31
sanforjackass24-Jan-10 23:31 
QuestionRe: calling image Pin
jojoba201024-Jan-10 23:36
jojoba201024-Jan-10 23:36 
AnswerRe: calling image Pin
sanforjackass25-Jan-10 0:29
sanforjackass25-Jan-10 0:29 
QuestionWinservice installer issue Pin
Priya Prk24-Jan-10 22:11
Priya Prk24-Jan-10 22:11 
AnswerRe: Winservice installer issue Pin
#realJSOP25-Jan-10 0:01
professional#realJSOP25-Jan-10 0:01 
GeneralRe: Winservice installer issue Pin
Priya Prk25-Jan-10 0:05
Priya Prk25-Jan-10 0:05 
QuestionCursor change in WinForms - A generic error occurred in GDI + [modified] Pin
arturw8224-Jan-10 22:04
arturw8224-Jan-10 22:04 
QuestionHow would I go about adding an escape to a predefined string value ? Pin
tonyonlinux24-Jan-10 21:15
tonyonlinux24-Jan-10 21:15 
I have a treeview and when I hit a title that has is something like this
Title = "Berenstains' B Book"

Obviously it has the ' in it and needs to be escaped.
I tried putting the @ infront of the this.treeview........
but that didn't help..

I'm trying to pass it to my navigation filter as follows.
<pre>
this.bookListBindingNavigator.BindingSource.Filter = string.Format(@"Title LIKE '*{0}*'", this.treeview.SelectedNode.Text.Trim());</pre>

thanks for the help

i thought I might be able to do something like
string escaped = treeview.selectednode.text.trim();
escaped = escaped.replace("'","\'");
but that doesn't work because of course \ is looked as an escape character in that string Frown | :(
I'm confused. Knockin on the door but evidently I can't come in   yet :P
AnswerRe: How would I go about adding an escape to a predefined string value ? Pin
OriginalGriff24-Jan-10 21:37
mveOriginalGriff24-Jan-10 21:37 
AnswerRe: How would I go about adding an escape to a predefined string value ? Pin
Luc Pattyn24-Jan-10 22:11
sitebuilderLuc Pattyn24-Jan-10 22:11 
Questionmodified date Pin
Member 59031024-Jan-10 18:42
Member 59031024-Jan-10 18:42 
AnswerRe: modified date Pin
_Achilles_24-Jan-10 19:01
_Achilles_24-Jan-10 19:01 
AnswerRe: modified date Pin
Mycroft Holmes24-Jan-10 20:02
professionalMycroft Holmes24-Jan-10 20:02 
AnswerRe: modified date Pin
PIEBALDconsult25-Jan-10 4:25
mvePIEBALDconsult25-Jan-10 4:25 
QuestionC# tooltip [modified] Pin
jojoba201024-Jan-10 18:19
jojoba201024-Jan-10 18:19 
AnswerRe: C# tooltip Pin
sanforjackass24-Jan-10 19:04
sanforjackass24-Jan-10 19:04 
QuestionRe: C# tooltip Pin
jojoba201024-Jan-10 19:09
jojoba201024-Jan-10 19:09 
AnswerRe: C# tooltip Pin
sanforjackass24-Jan-10 19:13
sanforjackass24-Jan-10 19:13 
QuestionRe: C# tooltip Pin
jojoba201024-Jan-10 19:14
jojoba201024-Jan-10 19:14 
AnswerRe: C# tooltip Pin
sanforjackass24-Jan-10 19:24
sanforjackass24-Jan-10 19:24 
QuestionRe: C# tooltip Pin
jojoba201024-Jan-10 19:50
jojoba201024-Jan-10 19:50 
AnswerRe: C# tooltip Pin
Mycroft Holmes24-Jan-10 19:54
professionalMycroft Holmes24-Jan-10 19:54 
AnswerRe: C# tooltip Pin
sanforjackass24-Jan-10 20:01
sanforjackass24-Jan-10 20:01 
GeneralRe: C# tooltip Pin
Mycroft Holmes24-Jan-10 19:50
professionalMycroft Holmes24-Jan-10 19:50 
QuestionCan a Java application call a DotNet WCF service? Pin
ashishtango24-Jan-10 17:24
ashishtango24-Jan-10 17:24 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.