Groups | Blog | Home
all groups > asp.net webcontrols > june 2004 >

asp.net webcontrols : setting Url Format String in datagrid control dynamically


Troy
6/29/2004 12:31:01 PM
Hi
Wondering if anyone knows how to set the Url Format String in a datagrid control through c# --
If you place the datagrid control on a form, and go into the property builder tool - you can select a column and specify a value for the URL Format String, however I have not been able to figure how to do it through code ...

I want to be able to move this web app to a different environment without recompiling.

Thanks for any insights.
Bobby Ryzhy
7/6/2004 5:23:45 PM
_editHyperLinkColumn.DataNavigateUrlFormatString =
"editInstance.aspx?instanceID={0}"

Bobby Ryzhy
bobby@ name of domain below
http://www.weekendtech.net


On Tue, 29 Jun 2004 12:31:01 -0700, "Troy"
[quoted text, click to view]
AddThis Social Bookmark Button