remove
src="systemmanage.cs" from <%@ Page ...%>compile your cs file into a DLL and add the DLL to the bin subdirectory or simply click BUILD in VS.NET
src="systemmanage.cs" from <%@ Page ...%>compile your cs file into a DLL and add the DLL to the bin subdirectory or simply click BUILD in VS.NET
I am trying!!
非常感谢您在百忙中的指点!!
CS1595: 已在多处定义“WebApp_System.MyPage”;
怎么办?
d:/>csc /t:library /r:System.Web.Dll,EditorLib.Dll /out:d:\Inetpub\wwwroot\WebApp_System\ststemmanage.dll systemmanage.cs
错误:
缺少对“out”命令行选项的文件规范!
非常谢谢!
请问如何处理呀??
如果不是,把类定义在工程中.
不要两个都定义同一个类。
现在我修改了源程序的结构,让EditorLib成为一个类库,它是一个DataGrid的一个Control,用于构建DataGrid,同时让systemmanage.cs单独成为一个类库,它引用EditorLib类库,用于在该DataGrid中添加一些方法,如编辑、修改和删除等,最后让usermanage.aspx直接引用它们。
编译正常,但是现在的问题是:“执行”时不能显示该DataGrid,原因可能是在usermanage.aspx.cs中没有加载Page_Load。
请问Lostinet的是:该怎样在该Page_Load中写代码,来加载显示该DataGrid?谢谢!
方法加载!
谢谢大家!请大家接分吧!