How to add the 2nd querystring in web.sitemap

A

ad

I need add two querysting in a node in web.sitemap:

<siteMapNode url="~/LocalReport/RViewer.aspx?sKind=Acc_List"&MyYears=2006
title="WebReport" description="" roles="" />

But the compiler said that I can't use & in the siteMapNode.

How can I add the 2nd querystring in web.sitemap?
 
S

Swanand Mokashi

You can use &amp; instead of & and you should be fine as :
<siteMapNode
url="~/LocalReport/RViewer.aspx?sKind=Acc_List&amp;MyYears=2006">
title="WebReport" description="" roles="" />

HTH

--
Swanand Mokashi
Microsoft Certified Solution Developer (.NET) - Early Achiever
Microsoft Certified Application Developer (.NET)

http://www.dotnetgenerics.com/
DotNetGenerics.com -- anything and everything about Microsoft .NET
technology ...

http://www.swanandmokashi.com/
http://www.swanandmokashi.com/HomePage/WebServices/
Home of the Stock Quotes, Quote of the day and Horoscope web services
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,780
Messages
2,569,611
Members
45,271
Latest member
BuyAtenaLabsCBD

Latest Threads

Top