M
motorhead_maniac
hi All,
Iam having a objectdatasource control declared in the markup as
<asp:ObjectDataSource ID="odsProperties" runat="server"
TypeName="System.Collections.IEnumerable"
SelectMethod="GetProperties"></asp:ObjectDataSource>
Then on the code behind iam hacing a method declated like ...
public IEnumerable GetProperties()
{
return New ArrayList();
}
but i still get the following error
ObjectDataSource 'odsProperties' could not find a non-generic method
'GetProperties' that has no parameters.
Am i missing something ?, this is very basic and should work
regards
Iam having a objectdatasource control declared in the markup as
<asp:ObjectDataSource ID="odsProperties" runat="server"
TypeName="System.Collections.IEnumerable"
SelectMethod="GetProperties"></asp:ObjectDataSource>
Then on the code behind iam hacing a method declated like ...
public IEnumerable GetProperties()
{
return New ArrayList();
}
but i still get the following error
ObjectDataSource 'odsProperties' could not find a non-generic method
'GetProperties' that has no parameters.
Am i missing something ?, this is very basic and should work
regards