Aug 19, 2006 #1 mheppler Programmer Feb 6, 2006 8 US public void RemoveDVD (string title) { ... strExp = "/DVDs/DVD[Title=title]/Title"; ... } How can I put variable title into this expression? Thanks much, Mark
public void RemoveDVD (string title) { ... strExp = "/DVDs/DVD[Title=title]/Title"; ... } How can I put variable title into this expression? Thanks much, Mark
Aug 20, 2006 #2 chiph Programmer Jun 9, 1999 9,878 US You're going to kick yourself, it's so easy. Code: strExp = "/DVDs/DVD[Title=" + title + "]/Title"; Chip H. ____________________________________________________________________ If you want to get the best response to a question, please read FAQ222-2244 first Upvote 0 Downvote
You're going to kick yourself, it's so easy. Code: strExp = "/DVDs/DVD[Title=" + title + "]/Title"; Chip H. ____________________________________________________________________ If you want to get the best response to a question, please read FAQ222-2244 first