Click here to Skip to main content
15,909,445 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Connect to the database with Ajax via Asp.net Pin
Morgs Morgan19-Mar-10 4:37
Morgs Morgan19-Mar-10 4:37 
AnswerRe: Connect to the database with Ajax via Asp.net Pin
Sandeep Mewara19-Mar-10 3:19
mveSandeep Mewara19-Mar-10 3:19 
GeneralRe: Connect to the database with Ajax via Asp.net Pin
Abhijit Jana20-Mar-10 8:06
professionalAbhijit Jana20-Mar-10 8:06 
AnswerRe: Connect to the database with Ajax via Asp.net Pin
mrMercury19-Mar-10 14:57
mrMercury19-Mar-10 14:57 
Questionproblem with server control and nested collection properties Pin
melnac19-Mar-10 1:09
melnac19-Mar-10 1:09 
QuestionWhat is the difference between 3 Tier Architecture and N-Ties Architecture. Pin
ChandrakanthGaddam19-Mar-10 0:46
ChandrakanthGaddam19-Mar-10 0:46 
AnswerRe: What is the difference between 3 Tier Architecture and N-Ties Architecture. Pin
padmanabhan N19-Mar-10 0:51
padmanabhan N19-Mar-10 0:51 
AnswerRe: What is the difference between 3 Tier Architecture and N-Ties Architecture. Pin
Brij19-Mar-10 0:54
mentorBrij19-Mar-10 0:54 
QuestionLimiting Download Pin
Somaraj N18-Mar-10 21:34
Somaraj N18-Mar-10 21:34 
AnswerRe: Limiting Download Pin
Sathesh Sakthivel18-Mar-10 23:32
Sathesh Sakthivel18-Mar-10 23:32 
QuestionUnable to Open (ASP.NET C#) Web Project Pin
Somaraj N18-Mar-10 21:31
Somaraj N18-Mar-10 21:31 
AnswerRe: Unable to Open (ASP.NET C#) Web Project Pin
saini arun18-Mar-10 21:39
saini arun18-Mar-10 21:39 
GeneralRe: Unable to Open (ASP.NET C#) Web Project Pin
Gaurav Dudeja India18-Mar-10 22:50
Gaurav Dudeja India18-Mar-10 22:50 
AnswerRe: Unable to Open (ASP.NET C#) Web Project Pin
Dinesh Mani19-Mar-10 0:27
Dinesh Mani19-Mar-10 0:27 
QuestionRegEx to allow Phone Numbers with #-###-###-#### or ###-###-#### format only Pin
Vipul Mehta18-Mar-10 20:39
Vipul Mehta18-Mar-10 20:39 
AnswerRe: RegEx to allow Phone Numbers with #-###-###-#### or ###-###-#### format only Pin
Dinesh Mani18-Mar-10 20:59
Dinesh Mani18-Mar-10 20:59 
GeneralRe: RegEx to allow Phone Numbers with #-###-###-#### or ###-###-#### format only Pin
Vipul Mehta18-Mar-10 21:16
Vipul Mehta18-Mar-10 21:16 
AnswerRe: RegEx to allow Phone Numbers with #-###-###-#### or ###-###-#### format only Pin
Arindam Tewary18-Mar-10 23:24
professionalArindam Tewary18-Mar-10 23:24 
QuestionTableAdapterManager.UpdateAll shows foreign key error Pin
Satheesh Vijayan18-Mar-10 17:44
Satheesh Vijayan18-Mar-10 17:44 
QuestionWhy doesn't this string replacement work? (XmlDoc.InnerXml.Replace) Pin
David Mujica18-Mar-10 10:30
David Mujica18-Mar-10 10:30 
The following is a piece of code that I am using to edit some HTML at runtime. My application reads a HTML template in, then replaces the tokens [%0], [%1], [%2], etc with parameter values.

This routine seemed to work fine, until I tried passing a HMTL link to the routine; it then bombs out with the following error message:

'=' is an unexpected token. The expected token is ';'. Line 14, position 91.

If I pass a regular string like "Hello World" to the routine, it works fine.

The string I am passing is:

"<a class='Link' href='http://localhost:2861/activateAccount.aspx?U=y@x.com&K=62cfaea3-ccd1-4831-9d29-985cbae49e2c'>http://localhost:2861/activateAccount.aspx?U=y@x.com&amp;K=62cfaea3-ccd1-4831-9d29-985cbae49e2c</a>"


<br />
' This is actually a method from a class, the variable mXMLdoc is a member value in the class.<br />
<br />
Public Sub MergeData(ByVal ParamArray Args() As String)<br />
  Dim i As Integer<br />
        <br />
  ' Replace the [%0], [%1], [%2], etc tokens with parameter values<br />
  For i = 0 To Args.GetLength(0) - 1<br />
    mXmlDoc.InnerXml = mXmlDoc.InnerXml.Replace("[%" + CStr(i) + "]", Args(i))<br />
  Next<br />
<br />
End Sub<br />


Looking forward to getting this resolved ... I'm out of ideas. Confused | :confused:
AnswerRe: Why doesn't this string replacement work? (XmlDoc.InnerXml.Replace) Pin
Arindam Tewary18-Mar-10 23:44
professionalArindam Tewary18-Mar-10 23:44 
GeneralWorking now Pin
David Mujica19-Mar-10 4:22
David Mujica19-Mar-10 4:22 
GeneralRe: Working now Pin
Arindam Tewary19-Mar-10 8:38
professionalArindam Tewary19-Mar-10 8:38 
QuestionWeb Deployment Project: Missing Reference? Pin
Diving Flo18-Mar-10 10:14
Diving Flo18-Mar-10 10:14 
AnswerRe: Web Deployment Project: Missing Reference? Pin
Diving Flo22-Mar-10 4:17
Diving Flo22-Mar-10 4:17 

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.