Alright... explain this too me. When I log into my FTP, I have this folder (which I did not make) called "aspnet_client" here's the folders so you know what's inside of it
aspnet_client/system_web/2_0_50727/
I can't put any aspx files inside of there and run them cause it says it isn't allowed to be run. Inside I'm putting files inside of another folder, one directory up from the root.
/cs/
now.. I've made a cs file.. GRC_CS.cs... inside of it is the following code.
using System;
namespace GRC_CS {
public class YLU {
private string sayhello;
public YLU () {
this.sayhello = "Hello World!";
}//end YLU()
public void SayHello(){
return this.sayhello;
}//end SayHello()
}//end YLU :: Class
}//end GRC_CS
Inside of the aspx file I am trying to access the YLU class. but I keep getting the following error.
Compiler Error Message:
CS0246: The type or namespace name 'YLU' could not be found (are you missing a using directive or an assembly reference?)
I've tried to put the cs file in an App_Code directory inside of the cs directory so
/cs/App_Code/GRC_CS.cs
That didn't work..
Then tried to put it inside of the asp_client folder
aspnet_client/
Didn't work..
Then tried putting it inside of
aspnet_client/system_web/
mrmatrix
Member
30 Points
15 Posts
Classes (extended)
May 19, 2006 02:13 AM|LINK
aspnet_client/system_web/2_0_50727/
I can't put any aspx files inside of there and run them cause it says it isn't allowed to be run. Inside I'm putting files inside of another folder, one directory up from the root.
/cs/
now.. I've made a cs file.. GRC_CS.cs... inside of it is the following code.
using System;
namespace GRC_CS {
public class YLU {
private string sayhello;
public YLU () {
this.sayhello = "Hello World!";
}//end YLU()
public void SayHello(){
return this.sayhello;
}//end SayHello()
}//end YLU :: Class
}//end GRC_CS
Inside of the aspx file I am trying to access the YLU class. but I keep getting the following error.
Compiler Error Message: CS0246: The type or namespace name 'YLU' could not be found (are you missing a using directive or an assembly reference?)
I've tried to put the cs file in an App_Code directory inside of the cs directory so
/cs/App_Code/GRC_CS.cs
That didn't work..
Then tried to put it inside of the asp_client folder
aspnet_client/
Didn't work..
Then tried putting it inside of
aspnet_client/system_web/
Didn't work..
then tried
aspnet_client/system_web/2_0_50727/
didn't work.
Help me..please...