Sunday, 15 January 2012

c# - Windows phone webcontrol format exception -



c# - Windows phone webcontrol format exception -

i have been using code while working in windows phone 7 app im constructing. of sudden stops working , gives me format exception error? have been doing wrong since haven't alter bit in code since lastly worked perfectly?

string url = string.format("http://www.bing.com/search?q={0}"); webbrowser1.source = (new uri(string.format(url), urikind.absolute));

you utilize string.format method don't specify argument after string.

i think trying like

string url = string.format("http://www.bing.com/search?q={0}", keyword);

c# visual-studio-2010 windows-phone-7

No comments:

Post a Comment