Click here to Skip to main content
15,887,875 members
Home / Discussions / C#
   

C#

 
GeneralRe: Reading registry keys Pin
PIEBALDconsult30-Dec-10 2:24
mvePIEBALDconsult30-Dec-10 2:24 
AnswerRe: Reading registry keys Pin
Kevin Marois30-Dec-10 5:40
professionalKevin Marois30-Dec-10 5:40 
QuestionListView scroll while typing Pin
Figmo229-Dec-10 16:52
Figmo229-Dec-10 16:52 
QuestionHot to draw ellipse line intersection Pin
ferry24029-Dec-10 9:35
ferry24029-Dec-10 9:35 
AnswerRe: Hot to draw ellipse line intersection Pin
fjdiewornncalwe29-Dec-10 9:48
professionalfjdiewornncalwe29-Dec-10 9:48 
GeneralRe: Hot to draw ellipse line intersection Pin
ferry24029-Dec-10 10:33
ferry24029-Dec-10 10:33 
GeneralRe: Hot to draw ellipse line intersection Pin
fjdiewornncalwe29-Dec-10 10:49
professionalfjdiewornncalwe29-Dec-10 10:49 
QuestionWindows Phone 7 passing multiple items between pages Pin
Paul Harsent29-Dec-10 8:06
Paul Harsent29-Dec-10 8:06 
Hi,

I am building a simple windows phone 7 app. I need to pass more that one data item between pages. I know you need to make a small change to sending one data item across but im not sure what this change is. Currently I send one item across like this:
phoneApplicationPage.NavigationService.Navigate(new Uri("/Pages/View_Stickies.xaml?string=" + info, UriKind.RelativeOrAbsolute));


Where in this case info is the string sent.

I unpack it on page 2 like this:

protected override void OnNavigatedTo(System.Windows.Navigation.NavigationEventArgs e)
{
    if (this.NavigationContext.QueryString.ContainsKey("string"))
    {
       string GPS = this.NavigationContext.QueryString["string"];
       MessageBox.Show(GPS);
    }

    base.OnNavigatedTo(e);
}


Im sure there is a very simple answer to the question and any help would be great.

Thanks
AnswerRe: Windows Phone 7 passing multiple items between pages Pin
Pete O'Hanlon29-Dec-10 9:09
mvePete O'Hanlon29-Dec-10 9:09 
GeneralRe: Windows Phone 7 passing multiple items between pages Pin
Paul Harsent29-Dec-10 10:47
Paul Harsent29-Dec-10 10:47 
GeneralRe: Windows Phone 7 passing multiple items between pages Pin
Pete O'Hanlon29-Dec-10 10:49
mvePete O'Hanlon29-Dec-10 10:49 
QuestionProblem with reading Bytes Pin
Honeyboy_2029-Dec-10 7:49
Honeyboy_2029-Dec-10 7:49 
AnswerRe: Problem with reading Bytes Pin
Honeyboy_2029-Dec-10 7:50
Honeyboy_2029-Dec-10 7:50 
GeneralRe: Problem with reading Bytes Pin
Richard MacCutchan29-Dec-10 9:23
mveRichard MacCutchan29-Dec-10 9:23 
GeneralRe: Problem with reading Bytes Pin
Luc Pattyn29-Dec-10 9:34
sitebuilderLuc Pattyn29-Dec-10 9:34 
AnswerRe: Problem with reading Bytes Pin
carbon_golem29-Dec-10 8:34
carbon_golem29-Dec-10 8:34 
GeneralRe: Problem with reading Bytes Pin
Honeyboy_2029-Dec-10 8:57
Honeyboy_2029-Dec-10 8:57 
GeneralRe: Problem with reading Bytes Pin
Henry Minute29-Dec-10 9:29
Henry Minute29-Dec-10 9:29 
GeneralRe: Problem with reading Bytes Pin
carbon_golem29-Dec-10 10:30
carbon_golem29-Dec-10 10:30 
AnswerRe: Problem with reading Bytes Pin
carbon_golem29-Dec-10 12:47
carbon_golem29-Dec-10 12:47 
GeneralRe: Problem with reading Bytes Pin
Roger Wright2-Jan-11 18:09
professionalRoger Wright2-Jan-11 18:09 
Questionchanging a table name in dataset Pin
Ramkithepower29-Dec-10 5:58
Ramkithepower29-Dec-10 5:58 
AnswerRe: changing a table name in dataset Pin
Sandesh M Patil29-Dec-10 6:06
Sandesh M Patil29-Dec-10 6:06 
GeneralRe: changing a table name in dataset Pin
Ramkithepower29-Dec-10 22:52
Ramkithepower29-Dec-10 22:52 
GeneralRe: changing a table name in dataset Pin
Sandesh M Patil30-Dec-10 0:36
Sandesh M Patil30-Dec-10 0:36 

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.