开发者

Help decoding MSDN Dynamic Data Article

I'm trying to run through this msdn article: http://msdn.microsoft.com/en-us/library/dd723645.aspx One of the steps is:

In the class file for the page, change the base class from UserControl to EntityTemplateUserControl.

Nowhere is it made clear what page is being referenced. Can someone help me? I don't see any relevant class in the pages I have, so I assumed maybe they were talking about the ascx and didn't really mean page, but I'm开发者_开发技巧 not seeing an option there either.


Okay, I figured it out. They do mean the control and not the page. So, we create an ascx control (e.g. mycontrol.ascx) and then we replace this line:

Inherits System.Web.UI.UserControl

With this one:

Inherits EntityTemplateUserControl
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜