Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ObjectDataSource and Properties

Status
Not open for further replies.

avarga82

Programmer
May 19, 2003
62
US
Hello,

I'm using a custom object and binding it to my web form via the ObjectDataSource. I set the SelectMethod to the function in my object that fills it with data. However, I need to set a property of my object before it calls the SelectMethod. How do I set properties of my custom object before it calls the SelectMethod.

All the ObjectDataSource requires you to use is the TypeName (a string that's the name of the object), and the SelectMethod.

Any ideas?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top