TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
ms236
NA
2
0
Using Variables in XPath Expressions
Jan 28 2004 9:36 PM
I have a textBox that contains a string values. I need to take this string and use it as criteria for an XPath Expression. Here's what I have. Why isn't it working??? string s = textBox1.Text; XPathExpression expr; expr = myXPathNavigator.Compile("/NewDataSet/note[@to=$s]"); ----Matt
Reply
Answers (
1
)
How can I refer to a textbox from a class function?
How to merge multiple cells of a row in windows forms datagrid using vb.net