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?
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?