The following code line is working fine...

XmlNode sslNode = appHostNode.SelectSingleNode("sites/site[@name = 'www.wow.com']/ftpServer/security/ssl");

Now I want to pass a variable instead of 'www.wow.com'... please guide
how can I do it....

Recommended Answers

Have you tried:

string variableName;

And using this in-line:

'" + variableName + "'
Jump to Post

All 2 Replies

Have you tried:

string variableName;

And using this in-line:

'" + variableName + "'

Thanks alot... It works...

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.