Bind a datasource "parameter source" to a custom made property

Bind a datasource "parameter source" to a custom made property

Post by Bjn Tvete » Thu, 27 Jul 2006 23:46:25


How can i bind a gridviews'datasource parameter (source) which is inside
a usercontrol. To a custom property of the usercontrol.

Example:
the usercontrol cardDetail.ascx has a property companyNr.
And i want to bind one of the select parameters to a gridview
(datasource) inside this usercontrol to the companyNr - parameter.