Error: objectdatasource could not find a non-generic method
<p>I am binding dropdown list using Object data source. I got an error like this </p>

<p><strong>"ObjectDataSource 'objDSStatus' could not find a non-generic method 'GetIssueAllowedStatusByCategoryIDStatusIDandUserType' that has parameters: IssueCategoryID."</strong></p>

<p>My code is as follows</p>

<h2>.aspx</h2>

<pre><code>&lt; asp:DropDownList ID="ddlStatus" runat="server" DataSourceID="objDSStatus" 
                                                DataTextField="IssueStatusName" DataValueField="IssueStatusID"&gt;                                                

&lt; /asp:DropDownList&gt;
&lt; asp:ObjectDataSource ID="objDSStatus" runat="server" TypeName="DA"&gt;&lt;/asp:ObjectDataSource&gt;
</code></pre>

<h2>.cs</h2>

<pre><code>private void Bind(int IssueCategoryID, int IssueStatusID, int UserType)  
{  
    ddlStatus.Items.Clear();  
    objDSStatus.SelectMethod = "GetIssueAllowedStatusByCategoryIDStatusIDandUserType";  
    objDSStatus.SelectParameters.Clear();  
    objDSStatus.SelectParameters.Add("IssueCategoryID", IssueCategoryID.ToString());          
    objDSStatus.SelectParameters.Add("IssueStatusID", IssueStatusID.ToString());  
    objDSStatus.SelectParameters.Add("UserType", UserType.ToString());

    objDSStatus.DataBind();  
    ddlStatus.DataBind();  
}
</code></pre>

<h2>DA.cs</h2>

<pre><code>public List&lt;IssueStatus&gt; GetIssueAllowedStatusByCategoryIDStatusIDandUserType(int IssueeCategoryID, int IssueStatusID, int UserType)  
{  
    List&lt;IssueStatus&gt; issueStatusList = new List&lt;IssueStatus&gt;();  
}  
</code></pre>

<p>Can anyone help me on this.</p>

<p>Thanks,
Mahesh</p>
