开发者

Setting up an ASP.NET MVC View to work in VB.NET

How would I write the following ASP.NET MVC C# code in VB.NET?

<%@ Page Title="" Langu开发者_StackOverflowage="C#" MasterPageFile="~/Views/Shared/Site.Master"  
    Inherits="System.Web.Mvc.ViewPage<MvcGridSample
                    .ViewModels.Shared.Grid<Customer, CustomerSearchForm>>" %>


The correct VB Syntax for this line is:

<%@ Page Title="" Language="VB" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage(Of MvcGridSample.ViewModels.Shared.Grid(Of Customer, CustomerSearchForm))" %>
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜