Any ide开发者_如何学JAVAas on how to resolve this issue?
My Global.aspx:
protected void Application_Start(object sender, EventArgs e)
{
RouteTable.Routes.MapPageRoute<TabsResource>("users");
}
The non-generic method 'System.Web.Routing.RouteCollection.MapPageRoute(string, string, string, bool, System.Web.Routing.RouteValueDictionary, System.Web.Routing.RouteValueDictionary, System.Web.Routing.RouteValueDictionary)' cannot be used with type arguments
Sounds like it doesn't like the <TabsResource>
. It doesn't appear to be a generic function. Also, I think you're missing a few arguments.
精彩评论