I am not quite sure I understand what you mean ganesh. I will give you a little more info about what I am trying to do. I have a data grid that is comprised of only one user control which I created. The data source of that Data grid is a collection class, I would like to Iterate through the collection then bind each object to a property (hence passing the whole object as a parameter). Under normal circumstances using <%#DataBinder.Eval(Container.DataItem,"ColName") %> will work for strings. But how can I use the same logic for an object?
Regards
|