class file not being recognized by server in asp.net
<p>I am having a Reviews.cs file in App_Code.This file is being used as TypeName attribute of ObjectDataSource in BookReviews.aspx.But when i am compiling i am getting the following error</p>

<blockquote>
  <p>ObjectDataSource 'ObjectDataSource1' could not find a non-generic
  method 'AddReviews' that has parameters: Book_Id, Reviewer_Name,
  Email_Address, Rating, Comment, Reviews_Date, Reviewers_Date.</p>
</blockquote>

<p>Below is the <code>&lt;asp:ObjectDataSource&gt;</code> code..</p>

<p>I am making a website and not an application</p>

<pre><code>&lt;asp:ObjectDataSource ID="ObjectDataSource1" runat="server" 
        InsertMethod="AddReviews" SelectMethod="GetReviews" TypeName="Reviews"&gt;

       ......
    &lt;/asp:ObjectDataSource&gt;
</code></pre>
