Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Passing parameter from one form to another
Message
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
00781654
Message ID:
00782554
Vues:
23
Thank you very much for your suggestion and sample code.

>>Just from scanning the article it looks like exactly what I am looking for.
>>Thank you very much.
>>
>>>Check this article:
>>>http://www.dotnetbips.com/displayarticle.aspx?id=79
>>>
>>>If you need, I can try to translate this to VB .NET. I very often use the third method (using Server.Transfer).
>
>
>I like the Session[" "] myself:
>private void Page_Load(object sender, System.EventArgs e)
>{
>if (!IsPostBack)
>{
>string aPage = Session["ptPage"] as string;
>
>string aMake = Session["ptMake"] as string ;//= MmDropDownList1.SelectedItem.Text ;
>
>string aModel = Session["ptModelLabel"] as string ;//= MmDropDownList2.SelectedItem.Text ;
>
>string aOpening = Session["ptOpening"] as string ; //= MmDropDownList3.SelectedItem.Text ;
>
>string aOpeningNum = Session["ptOpeningNum"] as string ; //= MmDropDownList3.SelectedIndex.ToString();
>
>// Set your display now
>MmTextBox1.Text = aPage;
>MmTextBox2.Text = aMake;
>MmTextBox7.Text = aModel;
>
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform