Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
URL Format String for a foreign (surrogate) key
Message
From
25/09/2003 22:20:00
 
 
To
All
General information
Forum:
ASP.NET
Category:
Other
Title:
URL Format String for a foreign (surrogate) key
Miscellaneous
Thread ID:
00832557
Message ID:
00832557
Views:
58
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.
Next
Reply
Map
View

Click here to load this message in the networking platform