我今天有一个大脑冻结的时刻。我必须这样做很多次,但无法解决:我所做的只是运行以下内容,但这并不是说 releasetable 是正确的。
Error 55 The type or namespace name 'releasestable' could not be found (are you missing a using directive or an assembly reference?) C:\Users\tomb\Documents\Visual Studio 2010\Projects\Findnzbs\Findnzbs\latestreleases.aspx.cs 16 11 Findnzbs
继承人的代码:
releasestable webUserControl = (releasestable)Page.LoadControl("~/controls/releasestable.ascx");
webUserControl.listWhere = "myWhere";
phReleases.Controls.Add(webUserControl);