I'm not exactly sure what you're trying to do, but by the time the RowCreated event has fired, the GridView has already been bound to the ObjectDataSource. If you need to modify a Parameter of the ObjectDataSource, then the ObjectDataSource.Selecting event
is the proper place for this.
ecbruck
All-Star
98783 Points
9691 Posts
Moderator
Re: Incorrect method signature: ObjectDataSource funktionality for the GridView.RowCreated event
Jan 30, 2008 12:30 PM|LINK
I'm not exactly sure what you're trying to do, but by the time the RowCreated event has fired, the GridView has already been bound to the ObjectDataSource. If you need to modify a Parameter of the ObjectDataSource, then the ObjectDataSource.Selecting event is the proper place for this.
Microsoft MVP - ASP.NET