Click here to Skip to main content
15,923,006 members
Home / Discussions / C#
   

C#

 
GeneralRe: Opinion on the following please... Pin
Rob Philpott27-Apr-11 3:24
Rob Philpott27-Apr-11 3:24 
AnswerRe: Opinion on the following please... Pin
Ian Shlasko27-Apr-11 3:19
Ian Shlasko27-Apr-11 3:19 
GeneralRe: Opinion on the following please... Pin
Paladin200027-Apr-11 3:30
Paladin200027-Apr-11 3:30 
GeneralRe: Opinion on the following please... Pin
Rob Philpott27-Apr-11 3:36
Rob Philpott27-Apr-11 3:36 
GeneralRe: Opinion on the following please... Pin
Paladin200027-Apr-11 3:43
Paladin200027-Apr-11 3:43 
AnswerRe: Opinion on the following please... Pin
PIEBALDconsult27-Apr-11 14:30
mvePIEBALDconsult27-Apr-11 14:30 
QuestionGauge control to show an angle variation Pin
AlexB4727-Apr-11 3:08
AlexB4727-Apr-11 3:08 
AnswerRe: Gauge control to show an angle variation Pin
Ian Shlasko27-Apr-11 3:17
Ian Shlasko27-Apr-11 3:17 
QuestionAttributes in C# Pin
Loithuxua27-Apr-11 0:15
Loithuxua27-Apr-11 0:15 
AnswerRe: Attributes in C# PinPopular
Pete O'Hanlon27-Apr-11 0:21
mvePete O'Hanlon27-Apr-11 0:21 
GeneralRe: Attributes in C# Pin
Keith Barrow27-Apr-11 0:46
professionalKeith Barrow27-Apr-11 0:46 
GeneralRe: Attributes in C# Pin
Pete O'Hanlon27-Apr-11 1:01
mvePete O'Hanlon27-Apr-11 1:01 
GeneralRe: Attributes in C# Pin
Keith Barrow27-Apr-11 1:24
professionalKeith Barrow27-Apr-11 1:24 
GeneralRe: Attributes in C# Pin
Not Active27-Apr-11 2:29
mentorNot Active27-Apr-11 2:29 
GeneralRe: Attributes in C# Pin
Keith Barrow27-Apr-11 2:32
professionalKeith Barrow27-Apr-11 2:32 
GeneralRe: Attributes in C# Pin
Pete O'Hanlon27-Apr-11 2:36
mvePete O'Hanlon27-Apr-11 2:36 
GeneralRe: Attributes in C# Pin
Not Active27-Apr-11 2:40
mentorNot Active27-Apr-11 2:40 
GeneralRe: Attributes in C# Pin
Wayne Gaylard27-Apr-11 0:55
professionalWayne Gaylard27-Apr-11 0:55 
AnswerRe: Attributes in C# Pin
ambarishtv28-Apr-11 5:45
ambarishtv28-Apr-11 5:45 
QuestionTime-Out for Loop in C#? Pin
JP_Rocks26-Apr-11 23:33
JP_Rocks26-Apr-11 23:33 
AnswerRe: Time-Out for Loop in C#? Pin
V.26-Apr-11 23:41
professionalV.26-Apr-11 23:41 
AnswerRe: Time-Out for Loop in C#? Pin
Wayne Gaylard26-Apr-11 23:48
professionalWayne Gaylard26-Apr-11 23:48 
AnswerRe: Time-Out for Loop in C#? Pin
Pete O'Hanlon27-Apr-11 0:02
mvePete O'Hanlon27-Apr-11 0:02 
QuestionXML Search Pin
DJ24526-Apr-11 20:40
DJ24526-Apr-11 20:40 
AnswerRe: XML Search Pin
Pete O'Hanlon26-Apr-11 22:04
mvePete O'Hanlon26-Apr-11 22:04 
As they are attributes, you need to use attribute based searches in your XPath. The type of syntax you are looking to use is //[@...=value].

You are going to have a problem with the date part as this stands because your data is all text as far as the parser is concerned. In order to work with date information, you are going to have to provide a schema and set the data types as appropriate.

BTW, your XML is malformed - you must enclose your values in quotes, so having TaskId=9 is incorrect and it should actually be TaskId="9"

Forgive your enemies - it messes with their heads


My blog | My articles | MoXAML PowerToys | Mole 2010 - debugging made easier - my favourite utility


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.