Click here to Skip to main content
15,919,893 members

Comments by Juan Victoriano (Top 5 by date)

Juan Victoriano 18-Mar-13 1:14am View    
I think I just fixed it, all I had to do was add the app_code folder and include the C# file (clsBusinessLayer) in the folder, now its running without error.
Juan Victoriano 18-Mar-13 1:05am View    
Not sure which reference I have to use, there are many references in the .NET and COM tabs, I'm using Visual Studio 2008.
Juan Victoriano 18-Mar-13 0:49am View    
I am a novice C# programmer, I'm not sure what that means or how to even fix it.
Juan Victoriano 18-Mar-13 0:44am View    
This is the error I get when I run my app:

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.

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

Source Error:



Line 23: {
Line 24: //create object clsBusinessLayer class and call sendMail method
Line 25: clsBusinessLayer sendObj = new clsBusinessLayer();
Line 26: sendObj.SendEmail(txtFrom.Text, txtTo.Text, txtSubject.Text, txtMessage.Text);
Line 27:

not sure how to fix it. The error is line 25.
Juan Victoriano 18-Mar-13 0:44am View    
This is the error I get when I run my app:

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.

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

Source Error:



Line 23: {
Line 24: //create object clsBusinessLayer class and call sendMail method
Line 25: clsBusinessLayer sendObj = new clsBusinessLayer();
Line 26: sendObj.SendEmail(txtFrom.Text, txtTo.Text, txtSubject.Text, txtMessage.Text);
Line 27:

not sure how to fix it.