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

C#

 
GeneralRe: Valid Reason for Using IDisposable intreface Pin
Martin#7-Jan-10 2:40
Martin#7-Jan-10 2:40 
GeneralRe: Valid Reason for Using IDisposable intreface Pin
Gideon Engelberth7-Jan-10 14:54
Gideon Engelberth7-Jan-10 14:54 
Questionget char without enter (console) Pin
sadas232341s5-Jan-10 22:24
sadas232341s5-Jan-10 22:24 
AnswerRe: get char without enter (console) Pin
Hristo-Bojilov5-Jan-10 22:37
Hristo-Bojilov5-Jan-10 22:37 
QuestionC# and Resource File Pin
jojoba20105-Jan-10 22:07
jojoba20105-Jan-10 22:07 
AnswerRe: C# and Resource File Pin
SeMartens5-Jan-10 22:38
SeMartens5-Jan-10 22:38 
QuestionRe: C# and Resource File Pin
jojoba20105-Jan-10 23:05
jojoba20105-Jan-10 23:05 
AnswerRe: C# and Resource File Pin
SeMartens5-Jan-10 23:21
SeMartens5-Jan-10 23:21 
Is this an xml-file? Okay let us assume your file looks like this:

<br />
<resources><br />
  <item><br />
    <tag1>OK</tag1><br />
    <tag2>button OK</tag2><br />
    <!-- button2 --><br />
  </item><br />
  <item><br />
    <tag1>0,0</tag1><br />
    <tag2>button OK</tag2><br />
    <!-- button2 --><br />
  </item><br />
  <item><br />
    <tag1>75,23</tag1><br />
    <tag2>button OK</tag2><br />
    <!-- button2 --><br />
  </item><br />
</resources><br />


Then you can get the first comment with (with itemNode is set to the first node with the tag item):
<br />
 string b = itemNode.SelectSingleNode("./comment()[1]").InnerText<br />


Does this help you?

Regards
Sebastian

It's not a bug, it's a feature!

Check out my CodeProject article Permission-by-aspect.

Me in Softwareland.

GeneralRe: C# and Resource File Pin
jojoba20106-Jan-10 0:01
jojoba20106-Jan-10 0:01 
AnswerRe: C# and Resource File Pin
carlecomm6-Jan-10 18:16
carlecomm6-Jan-10 18:16 
QuestionDraw a line avoiding objects Pin
Zaegra5-Jan-10 21:45
Zaegra5-Jan-10 21:45 
GeneralRe: Draw a line avoiding objects Pin
Skippums6-Jan-10 7:58
Skippums6-Jan-10 7:58 
Questiondatatable filter Pin
abcurl5-Jan-10 21:38
abcurl5-Jan-10 21:38 
AnswerRe: datatable filter Pin
Greg Chelstowski5-Jan-10 23:26
Greg Chelstowski5-Jan-10 23:26 
GeneralRe: datatable filter Pin
abcurl5-Jan-10 23:38
abcurl5-Jan-10 23:38 
GeneralRe: datatable filter Pin
Greg Chelstowski5-Jan-10 23:55
Greg Chelstowski5-Jan-10 23:55 
GeneralRe: datatable filter Pin
Kaushal Arora6-Jan-10 20:33
Kaushal Arora6-Jan-10 20:33 
Questionproblem in insert picture to sql Pin
SajjadZare5-Jan-10 21:05
SajjadZare5-Jan-10 21:05 
AnswerRe: problem in insert picture to sql Pin
SeMartens5-Jan-10 21:20
SeMartens5-Jan-10 21:20 
GeneralRe: problem in insert picture to sql Pin
SajjadZare5-Jan-10 22:13
SajjadZare5-Jan-10 22:13 
GeneralRe: problem in insert picture to sql Pin
SeMartens5-Jan-10 22:19
SeMartens5-Jan-10 22:19 
GeneralRe: problem in insert picture to sql Pin
SajjadZare5-Jan-10 23:45
SajjadZare5-Jan-10 23:45 
GeneralRe: problem in insert picture to sql Pin
SeMartens5-Jan-10 23:51
SeMartens5-Jan-10 23:51 
GeneralRe: problem in insert picture to sql Pin
SajjadZare6-Jan-10 2:33
SajjadZare6-Jan-10 2:33 
GeneralRe: problem in insert picture to sql Pin
Pete O'Hanlon6-Jan-10 3:23
mvePete O'Hanlon6-Jan-10 3:23 

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.