简体   繁体   English

Windows Phone不止一个导航键

[英]windows phone more than one navigation keys

i am trying to navigate on windows phone 7.1 from one page to another , using more than one navigation keys 我试图在Windows Phone 7.1上使用多个导航键从一页导航到另一页

Me.NavigationService.Navigate(New Uri(String.Format("/ImagePage.xaml?tag={0}", li.Tag), UriKind.Relative))

this one works perfect... 这个作品完美...

but when i am adding and a second key : 但是当我添加和第二个关键:

Me.NavigationService.Navigate(New Uri(String.Format("/ImagePage.xaml?tag={0}?tag2={1}", li.Tag,l2.tag), UriKind.Relative))

but the result on second page is : 但是第二页上的结果是:

tag = "tag"?tag2="tag2" tag =“ tag”?tag2 =“ tag2”

where "tag" = contet of tag and "tag2" = contet of tag2 其中“标签” =标签的竞争者,“标签2” =标签2的竞争者

any ideas ... the wrong must be on the ? 任何想法...错误一定在吗? operator , but i am not sure :S i have try many others , none of theme seems correct :O 运算符,但我不确定:S我已经尝试了许多其他方法,但似乎主题都不正确:O

thank you any way ! 还是要谢谢你 !

The second ? 第二个? should be a & : 应该是&

Me.NavigationService.Navigate(New Uri(String.Format("/ImagePage.xaml?tag={0}&tag2={1}", ...

第二次应该有AND符号,而没有问号两次。

/ImagePage.xaml?tag={0}&tag2={1}"

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM