Dynamic Data Web Application编译是报GetActionPath调用模糊解决办法

新建的Dynamic Data Web Application编译时报错

Error 3 The call is ambiguous between the following methods or properties: 'System.Web.DynamicData.MetaTable.GetActionPath(string, System.Collections.Generic.IList<object>)' and 'System.Web.DynamicData.MetaTable.GetActionPath(string, System.Web.Routing.RouteValueDictionary)' D:\test\DynamicData\PageTemplates\List.aspx.cs 31 43 test


解决办法:

 System.Web.Routing.RouteValueDictionary myDictionary = null;

 InsertHyperLink.NavigateUrl = table.GetActionPath(PageAction.Insert, myDictionary); 


posted on 2008-09-04 10:51  sky老杨  阅读(175)  评论(0编辑  收藏  举报

导航