Click here to Skip to main content
16,006,531 members
Home / Discussions / C#
   

C#

 
GeneralRe: Edit feature (Cut, Copy, Paste) Pin
Colin Angus Mackay4-Feb-06 15:11
Colin Angus Mackay4-Feb-06 15:11 
QuestionNumericUpDowns Controled From Screen Pin
somebody_tr31-Jan-06 21:02
somebody_tr31-Jan-06 21:02 
QuestionDebug Pin
rakesh_nits31-Jan-06 20:49
rakesh_nits31-Jan-06 20:49 
AnswerRe: Debug Pin
lordofcsharp31-Jan-06 20:59
lordofcsharp31-Jan-06 20:59 
AnswerRe: Debug Pin
Divyang Mithaiwala31-Jan-06 21:23
Divyang Mithaiwala31-Jan-06 21:23 
Questionretrive the value from datagrid with checkbox Pin
Navas.M31-Jan-06 20:01
Navas.M31-Jan-06 20:01 
AnswerRe: retrive the value from datagrid with checkbox Pin
luckyv1-Feb-06 6:17
luckyv1-Feb-06 6:17 
QuestionSimple XML Parsing? Pin
davedunn31-Jan-06 19:54
davedunn31-Jan-06 19:54 
Hi, i'm developing a smartdevice application and i'm trying to read in elements from an XML document that i created? I've looked around and found i'm slightly lost


<client>
<currentclient ID="01">
<clientTeam>Arsenal</clientTeam>
<clientName>Dave Dunn</clientName>
<clientPos>1st</clientPos>
<clientWon>0</clientWon>
<clientLost>0</clientLost>
<clientDrawn>0</clientDrawn>
</currentclient>
</client>

Is the XML document and currently i want to be to say take the value of clientTeam "Arsenal" and set the text on a label elswhere to the value.

<code>public void UserReader()
{
string Path1 = "/Program%20Files/SmartDeviceApplication4/User.xml";
XmlTextReader Reader = new XmlTextReader (Path1);

while (Reader.Read())
{
if (Reader.NodeType == XmlNodeType.Element)
{

if (Reader.LocalName.Equals("clientTeam"))
{
this.TeamTitle.Text = Reader.Value;
}

if (Reader.LocalName.Equals("clientName"))
{
this.ManagerName.Text = Reader.Value;

}
}</code>


Is what i had, but i really dont think its what i'm looking for - it compiles but the label values dont change.Cry | :((

AnswerRe: Simple XML Parsing? Pin
Kodanda Pani31-Jan-06 20:29
Kodanda Pani31-Jan-06 20:29 
QuestionDataBinding 2 tables Pin
elraton31-Jan-06 18:35
elraton31-Jan-06 18:35 
QuestionDetailed Steps to code migration Pin
MACODER31-Jan-06 18:31
MACODER31-Jan-06 18:31 
AnswerRe: Detailed Steps to code migration Pin
Dave Kreskowiak1-Feb-06 5:42
mveDave Kreskowiak1-Feb-06 5:42 
QuestionSpecifying range to the property in PropertyGrid Pin
mr_tawan31-Jan-06 18:17
mr_tawan31-Jan-06 18:17 
AnswerRe: Specifying range to the property in PropertyGrid Pin
Kodanda Pani31-Jan-06 20:10
Kodanda Pani31-Jan-06 20:10 
GeneralRe: Specifying range to the property in PropertyGrid Pin
mr_tawan31-Jan-06 20:24
mr_tawan31-Jan-06 20:24 
GeneralRe: Specifying range to the property in PropertyGrid Pin
mr_tawan31-Jan-06 20:37
mr_tawan31-Jan-06 20:37 
GeneralRe: Specifying range to the property in PropertyGrid Pin
leppie31-Jan-06 22:17
leppie31-Jan-06 22:17 
QuestionHow to convert a VB 6.0 project to C# .NET project Pin
MACODER31-Jan-06 18:14
MACODER31-Jan-06 18:14 
AnswerRe: How to convert a VB 6.0 project to C# .NET project Pin
Ingo1-Feb-06 3:39
Ingo1-Feb-06 3:39 
AnswerRe: How to convert a VB 6.0 project to C# .NET project Pin
Dave Kreskowiak1-Feb-06 5:40
mveDave Kreskowiak1-Feb-06 5:40 
AnswerRe: How to convert a VB 6.0 project to C# .NET project Pin
Dave Doknjas1-Feb-06 16:21
Dave Doknjas1-Feb-06 16:21 
QuestionBuilt-in class for messagebox Pin
2hdass31-Jan-06 17:30
2hdass31-Jan-06 17:30 
AnswerRe: Built-in class for messagebox Pin
Vikram A Punathambekar31-Jan-06 19:34
Vikram A Punathambekar31-Jan-06 19:34 
GeneralRe: Built-in class for messagebox Pin
2hdass2-Feb-06 10:07
2hdass2-Feb-06 10:07 
QuestionAvoid fetching hidden rows from excel Pin
DirectDraw31-Jan-06 17:12
DirectDraw31-Jan-06 17:12 

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.