-----------------------------------------------------------

New Message on BDOTNET

-----------------------------------------------------------
From: wan2bhappyagn
Message 5 in Discussion

yeah i updated the environemnt variable  PATh. now i am able to compile. Thanks!! 

I compiled the TranslatorClass.cs file  into a dll and put it in the bin directory of 
the virtual folder.

I modified the @page directive to:

<%@ Page language="c#" Inherits="Translator" src="Translator.aspx.cs" 
AutoEventWireup="false" %>

Now when i run Translator.aspx i am getting this error:

Compiler Error Message: CS0246: The type or namespace name 'EventArgs' could not be 
found (are you missing a using directive or an assembly reference?)

Source Error:

 

Line 70:                        }
Line 71:                }
Line 72:                override protected void OnInit(EventArgs e)
Line 73:                {
Line 74:                        //
 

Source File: c:\inetpub\wwwroot\MC\Translator.aspx.cs    Line: 72 


This was the designer generated code which i had added to Translator.aspx.cs.

I am using all these namespaces in  Translator.aspx.cs.
:
using System.Collections;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Web;
using System.Web.SessionState;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.HtmlControls;

I am not able to understand why i am getting this error. Please help!!!!!!!




-----------------------------------------------------------

To stop getting this e-mail, or change how often it arrives, go to your E-mail 
Settings.
http://groups.msn.com/BDotNet/_emailsettings.msnw

Need help? If you've forgotten your password, please go to Passport Member Services.
http://groups.msn.com/_passportredir.msnw?ppmprop=help

For other questions or feedback, go to our Contact Us page.
http://groups.msn.com/contact

If you do not want to receive future e-mail from this MSN group, or if you received 
this message by mistake, please click the "Remove" link below. On the pre-addressed 
e-mail message that opens, simply click "Send". Your e-mail address will be deleted 
from this group's mailing list.
mailto:[EMAIL PROTECTED]

Reply via email to