programatically setting data fields

G

Guest

hi all,

is there any way i can programatically determine the following fields in a
datagrid column built using the property builder? i want to display in the
grid a different table depending on the type passed in the querystring, but
the <DataNavigateUrlField> and <childtype> will change depending on the
table selected (as would the header name etc, but im assuming these will be
able to set in the same way):

<asp:HyperLinkColumn DataNavigateUrlField="generic_column_name"
DataNavigateUrlFormatString="Generic.aspx?type=childtype&amp;parentid={0}"
DataTextField="name" HeaderText="Generic Hyperlink">

</asp:HyperLinkColumn>

thanks!

Spammy
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,776
Messages
2,569,603
Members
45,189
Latest member
CryptoTaxSoftware

Latest Threads

Top