Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Key from listbox
Message
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Titre:
Key from listbox
Divers
Thread ID:
00766542
Message ID:
00766542
Vues:
39
I have 2 columns in a list, Text for people to see and the key. How do I extract the KEY's value to pass to a new page? Below is what I'm trying'

private void MmButton1_Click(object sender, System.EventArgs e)
{
string ptPage = MmDropDownList2.BindingSourceValueMember.ToString() ;
string strURL = String.Concat("ptos.aspx?ptoapp=", ptPage );
Response.Redirect(strURL);
}

In my address line I see :
http://localhost/mmJumpStart/ptos.aspx?ptoapp=pi_applpg

The pi_applpg is the column, not it's coresponding value.

TIA

__Stephen
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform