Inherit problem in asp.net
<p>in my web application i copy and paste the code from other site to in my page also the source code starting form 
 when i run the application it is giving the error like this</p>

<h2>Server Error in '/DomainIV' Application.</h2>

<p>Compilation Error 
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately. </p>

<p>Compiler Error Message: ASPNET: Make sure that the class defined in this code file matches the 'inherits' attribute, and that it extends the correct base class (e.g. Page or UserControl).</p>

<p>Source Error:</p>

<p>Line 1:  using System;
Line 2:  using System.Data;
Line 3:  using System.Web;</p>

<p>Source File: c:\Inetpub\wwwroot\DomainIV\WhoIs.aspx.cs    Line: 1 </p>

<p>this is my problem help me thank u.</p>
