Tuesday, October 23, 2007

ASP.NET ObjectDataSource Setting the Object

Lets say you have a business object on your webpage and want to bind some listbox or something to it. You can use the ObjectDataSource object but you have to handle the ObjectCreating event for the ObjectDataSource. In your handle just set the ObjectInstance argument and you're good to go.

msdn2.microsoft.com article

Happy Coding!

No comments:

Post a Comment