uri格式Windows Phone 7应用程序 [英] uri format windows phone 7 application
本文介绍了uri格式Windows Phone 7应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在构建我的第一个Windows Phone 7应用程序,但出现错误-无效的Uri格式.
这是代码:
I am building my first windows phone 7 application, and I am given an error - Invalid Uri Format.
this is the code:
string site = textBox1.Text;
Uri u = new Uri("www.google.com", UriKind.Absolute);
webBrowser1.Navigate(u);
我正在遵循指示.
请提供帮助.
I am following directions.
Please help.
推荐答案
this.NavigationServer.Navigate(new Uri("/yourpage.xaml",UriKind.Relative));
this.NavigationServer.Navigate(new Uri("/yourpage.xaml",UriKind.Relative));
这篇关于uri格式Windows Phone 7应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文