Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
URL Format String for a foreign (surrogate) key
Message
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
URL Format String for a foreign (surrogate) key
Divers
Thread ID:
00832557
Message ID:
00832557
Vues:
59
I have a Hyperlink column on a WebControls.DataGrid. The column is displaying a natural key. I want the hyperlink to launch another page, passing the foreign surrogate key that corresponds to the displayed natural key as a parameter. This value exists in another column in the DataSet to which the grid control is bound, but naturally isn't displayed in the grid.

What I have specified now for the URL Format String is:
PCCInfo.aspx?PCC_fk={0}
Which does a nice job of passing the displayed value to the new page, but not what I'm looking for.

Can this be done or will I need to handle it on the server side, resolving the natural key into its corresponding surrogate key or something?

On a related question, is it possible to pass mulitiple arguments to the page being called, e.g. values from different columns of the DataGrid?

Thanks.
>>-Steve->>

Steve Sawyer
Geeks and Gurus, Inc.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform