Click here to Skip to main content
15,906,567 members
Home / Discussions / C#
   

C#

 
GeneralRe: int[] reference issue Pin
shamidi12-May-08 10:35
shamidi12-May-08 10:35 
GeneralRe: int[] reference issue Pin
Anthony Mushrow12-May-08 10:41
professionalAnthony Mushrow12-May-08 10:41 
GeneralRe: int[] reference issue Pin
#realJSOP12-May-08 10:50
professional#realJSOP12-May-08 10:50 
AnswerRe: int[] reference issue Pin
Guffa12-May-08 21:28
Guffa12-May-08 21:28 
GeneralRe: int[] reference issue Pin
#realJSOP13-May-08 1:20
professional#realJSOP13-May-08 1:20 
JokeRe: int[] reference issue Pin
Guffa13-May-08 2:05
Guffa13-May-08 2:05 
AnswerRe: int[] reference issue Pin
Le centriste14-May-08 6:24
Le centriste14-May-08 6:24 
QuestionHow to retrive the value? Pin
Luckie12-May-08 9:04
Luckie12-May-08 9:04 
Am getting the value of a node from my XML like this..

XmlDocument doc = new XmlDocument();
doc.Load(Application.StartupPath + "\\XMLfile.xml");
string xpath = "/Image/Crop/X";
XmlNode ReadX = doc.SelectSingleNode(xpath);
XmlNode X = ReadX.FirstChild.ParentNode;
XmlNodeReader nodeReader = new XmlNodeReader(X);
X = doc.ReadNode(nodeReader);


(Is this right? As I am new to .Net..I req u to check out and If am wrong.. kindly correct my mistake)

And if am right..
I want to use this X as an integer.. How do I do this...
I tried a method..But it throws an error that "Cannot implicitly convert type Int to system.xml.xmlnode"..tell me a way to retrieve the value of a node from my xml and to use in my further part of my program.. as an integer..

Thank You!
AnswerRe: How to retrive the value? Pin
Ennis Ray Lynch, Jr.12-May-08 9:09
Ennis Ray Lynch, Jr.12-May-08 9:09 
GeneralRe: How to retrive the value? Pin
Luckie12-May-08 9:18
Luckie12-May-08 9:18 
AnswerRe: How to retrive the value? Pin
led mike12-May-08 9:18
led mike12-May-08 9:18 
GeneralRe: How to retrive the value? Pin
Luckie12-May-08 9:26
Luckie12-May-08 9:26 
GeneralRe: How to retrive the value? Pin
KaptinKrunch12-May-08 10:31
KaptinKrunch12-May-08 10:31 
GeneralRe: How to retrive the value? Pin
led mike12-May-08 10:32
led mike12-May-08 10:32 
GeneralRe: How to retrive the value? Pin
Luckie12-May-08 10:47
Luckie12-May-08 10:47 
GeneralRe: How to retrive the value? Pin
led mike13-May-08 5:50
led mike13-May-08 5:50 
GeneralRe: How to retrive the value? Pin
Luckie13-May-08 6:52
Luckie13-May-08 6:52 
Questioninserting Single quote error Pin
NewToAspDotNet12-May-08 8:34
NewToAspDotNet12-May-08 8:34 
AnswerRe: inserting Single quote error Pin
Giorgi Dalakishvili12-May-08 8:51
mentorGiorgi Dalakishvili12-May-08 8:51 
AnswerRe: inserting Single quote error Pin
Blue_Boy12-May-08 9:07
Blue_Boy12-May-08 9:07 
AnswerRe: inserting Single quote error Pin
Ennis Ray Lynch, Jr.12-May-08 9:11
Ennis Ray Lynch, Jr.12-May-08 9:11 
GeneralRe: inserting Single quote error Pin
Jasmine250112-May-08 9:21
Jasmine250112-May-08 9:21 
QuestionShareing shopping Cart in asp.net and C# Pin
mdpavel12-May-08 7:44
mdpavel12-May-08 7:44 
AnswerRe: Shareing shopping Cart in asp.net and C# Pin
Zoltan Balazs12-May-08 7:55
Zoltan Balazs12-May-08 7:55 
AnswerRe: Shareing shopping Cart in asp.net and C# Pin
Jasmine250112-May-08 9:13
Jasmine250112-May-08 9:13 

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.