Setting property value of class - objectdatasouce
I am using objectdatasource control databinding to gridview.
Select method is in class. which is set as typename and method as selectmethod of object data source control.
Since it is automatic binding when I call gridview's databind() method the select method is called.
There is a public property in class named 'optionProperty'.
I want to set class property value from page which contain gridview & object data source.
I still not find the better way.
Can any one help me for coding.
|