ObjectDataSource Select Question
Is it possible to get to the object that an ObjectDataSource creates when calling the select function? Not the result 开发者_JAVA百科of the select function itself but the object that is creates from the parameter specified in TypeName
.
I would like to call some other functions on that same instance after Select
is called.
The other solution would be to DataBind manually.
The ObjectCreated event will be able to give you the instance you want...
You'll have to hold a reference to that until you handle the Selected event
精彩评论