Click here to Skip to main content
15,888,980 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionProgress Bar Pin
Mugdha_Aditya14-Feb-11 2:02
Mugdha_Aditya14-Feb-11 2:02 
AnswerRe: Progress Bar Pin
Not Active14-Feb-11 8:32
mentorNot Active14-Feb-11 8:32 
GeneralRe: Progress Bar Pin
Mugdha_Aditya14-Feb-11 23:59
Mugdha_Aditya14-Feb-11 23:59 
QuestionHow can i read and write session value in App_CODE? Pin
buffering8313-Feb-11 12:43
buffering8313-Feb-11 12:43 
GeneralRe: How can i read and write session value in App_CODE? Pin
Anurag Gandhi13-Feb-11 18:21
professionalAnurag Gandhi13-Feb-11 18:21 
GeneralRe: How can i read and write session value in App_CODE? Pin
buffering8313-Feb-11 18:51
buffering8313-Feb-11 18:51 
QuestionAdvise about implementing roulette like chat Pin
Haim Nachum12-Feb-11 23:36
Haim Nachum12-Feb-11 23:36 
QuestionInvalid Token when using XPath Pin
Member 297299210-Feb-11 9:41
Member 297299210-Feb-11 9:41 
Hi
I am making a modification to a web application using XPath, and when executed I get an error message - Invalid token!

This is basic what I am doing

public xmlNode GetSelection (SelectParams params, xmldocument docment)

{

xpathstring = string.format("Name =\'{0}' Displaytag = \'{1}' Manadatory=\'{2}', params.Name, params.Displaytag, params.Manadatory);

return document.selectsinglenode(xpathstring);

}

As you can see, I am making a string and setting values on the nodes I am trying to find against my xml document, and thus returning xml data that matches my parameters.

What is happening is that I am getting an xpathexeception error in Visual Studio and it says invalid token.

I do know that in the xml document that the parameters I am looking in the tags have double quotes, for example, Name="ABC". So, I thought the problem could be solved using an "\".

Can anyone help?
AnswerRe: Invalid Token when using XPath Pin
phil.o10-Feb-11 23:21
professionalphil.o10-Feb-11 23:21 
Questiongetting an e-mail message to a string Pin
benams10-Feb-11 4:09
benams10-Feb-11 4:09 
AnswerRe: getting an e-mail message to a string Pin
Parwej Ahamad10-Feb-11 4:19
professionalParwej Ahamad10-Feb-11 4:19 
AnswerRead POP email ? Pin
David Mujica10-Feb-11 4:31
David Mujica10-Feb-11 4:31 
GeneralRe: Read POP email ? Pin
benams10-Feb-11 5:36
benams10-Feb-11 5:36 
AnswerRe: Read POP email ? Pin
Yusuf10-Feb-11 7:25
Yusuf10-Feb-11 7:25 
GeneralRe: Read POP email ? Pin
benams10-Feb-11 7:44
benams10-Feb-11 7:44 
GeneralRe: Read IMAP email Pin
David Mujica11-Feb-11 10:52
David Mujica11-Feb-11 10:52 
QuestionUploading Larger Files Pin
priyaahh8-Feb-11 23:50
priyaahh8-Feb-11 23:50 
AnswerRe: Uploading Larger Files Pin
Parwej Ahamad9-Feb-11 7:03
professionalParwej Ahamad9-Feb-11 7:03 
AnswerRe: Uploading Larger Files Pin
thatraja16-Feb-11 9:35
professionalthatraja16-Feb-11 9:35 
Questionbound dropdownlist adding temp data Pin
C#Coudou8-Feb-11 14:58
C#Coudou8-Feb-11 14:58 
AnswerRe: bound dropdownlist adding temp data Pin
Vimalsoft(Pty) Ltd8-Feb-11 20:13
professionalVimalsoft(Pty) Ltd8-Feb-11 20:13 
GeneralRe: bound dropdownlist adding temp data Pin
C#Coudou8-Feb-11 21:21
C#Coudou8-Feb-11 21:21 
AnswerRe: bound dropdownlist adding temp data Pin
Anurag Gandhi8-Feb-11 22:06
professionalAnurag Gandhi8-Feb-11 22:06 
GeneralRe: bound dropdownlist adding temp data Pin
C#Coudou8-Feb-11 22:41
C#Coudou8-Feb-11 22:41 
GeneralRe: bound dropdownlist adding temp data Pin
Anurag Gandhi8-Feb-11 22:54
professionalAnurag Gandhi8-Feb-11 22:54 

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.