-2
我想使用Usercontrol
页面调用App_code folder
里面的一个类怎么做?使用usercontrol页面调用App_code文件夹内的Class文件?
namespace Project.Folder
{
public partial class DefaultMenu2 : System.Web.UI.UserControl
{
public void Page_Load(object sender, EventArgs e)
{
Util.Function();/*this is what i wan to call but cannot call it in my project */
}
}
}
检查app_code类中的名称空间,并尝试在调用它时尝试放置它...或者提供一个app_code类的示例 – Zaki 2012-04-17 12:08:48