Click here to Skip to main content
15,891,633 members
Home / Discussions / C#
   

C#

 
GeneralRe: program to find out whether Excel has been installed or not Pin
ksanju100019-May-05 18:56
ksanju100019-May-05 18:56 
GeneralConnecting to *.Dbf files Pin
V.18-May-05 21:56
professionalV.18-May-05 21:56 
Generaldelete a registry key by unistalling of my application Pin
Anonymous18-May-05 21:42
Anonymous18-May-05 21:42 
GeneralCreateFile Problem Pin
Mohan vijay18-May-05 21:20
Mohan vijay18-May-05 21:20 
GeneralMultiple Image Printing Problem Pin
ismart18-May-05 21:10
ismart18-May-05 21:10 
GeneralCommunication between Modems Pin
Subrahmanyam K18-May-05 20:44
Subrahmanyam K18-May-05 20:44 
Generalpls correct my error Pin
ksanju100018-May-05 20:41
ksanju100018-May-05 20:41 
GeneralRe: pls correct my error Pin
Ali Iqbal Khan18-May-05 23:32
Ali Iqbal Khan18-May-05 23:32 
Well Sanjeev, everything seems fine.... but there is one glitch which might be causing this problem. Since you are picking value from a textbox, perhaps there are trailing spaces in it. Why dont you first extract value from textbox, trim it and then try to find that node.

Like you can do this.

string strdata = Convert.tostring(textBox1.text).trim();
xmlNode farm2=doc.SelectSingleNode("/root/farm-config/farm[./@name='"+ strdata + "']/connection/@address");

Hope this resolves the problem!!!

Ali

http://aliwritings.blogspot.com/
Generalmultiple SQl on mySQL Pin
Jassim Rahma18-May-05 20:26
Jassim Rahma18-May-05 20:26 
GeneralRe: multiple SQl on mySQL Pin
MoustafaS18-May-05 23:09
MoustafaS18-May-05 23:09 
GeneralProblem with namespaces/references Pin
methodincharge18-May-05 19:21
methodincharge18-May-05 19:21 
GeneralRe: Problem with namespaces/references Pin
Christian Graus18-May-05 19:41
protectorChristian Graus18-May-05 19:41 
GeneralRe: Problem with namespaces/references Pin
methodincharge19-May-05 2:24
methodincharge19-May-05 2:24 
GeneralRe: Problem with namespaces/references Pin
Christian Graus19-May-05 12:49
protectorChristian Graus19-May-05 12:49 
GeneralEmpty HttpWebResponse length for some urls Pin
Jason Manfield18-May-05 17:41
Jason Manfield18-May-05 17:41 
GeneralTwain or WIA Pin
g00fyman18-May-05 16:57
g00fyman18-May-05 16:57 
GeneralRe: Twain or WIA Pin
Christian Graus18-May-05 17:34
protectorChristian Graus18-May-05 17:34 
GeneralRe: Twain or WIA Pin
g00fyman18-May-05 17:46
g00fyman18-May-05 17:46 
GeneralRe: Twain or WIA Pin
Christian Graus18-May-05 18:02
protectorChristian Graus18-May-05 18:02 
GeneralRe: Twain or WIA Pin
g00fyman18-May-05 18:09
g00fyman18-May-05 18:09 
GeneralRe: Twain or WIA Pin
Luis Alonso Ramos18-May-05 18:13
Luis Alonso Ramos18-May-05 18:13 
GeneralRe: Twain or WIA Pin
Christian Graus18-May-05 18:13
protectorChristian Graus18-May-05 18:13 
GeneralRe: Twain or WIA Pin
g00fyman18-May-05 18:25
g00fyman18-May-05 18:25 
GeneralRe: Twain or WIA Pin
Luis Alonso Ramos18-May-05 18:37
Luis Alonso Ramos18-May-05 18:37 
GeneralRe: Twain or WIA Pin
g00fyman18-May-05 18:48
g00fyman18-May-05 18:48 

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.