珂珂的个人博客 - 一个程序猿的个人网站

FYJ.Blogs开发系列(三)-后台文章编辑页View

FYJ.Blogs开发系列(一)

FYJ.Blogs开发系列(二)-后台文章列表页View

FYJ.Blogs开发系列(三)-后台文章编辑页View

FYJ.Blogs开发系列(四)-后台文章Controller

FYJ.Blogs开发系列(五)-前台基页Controller

FYJ.Blogs开发系列(六)-前台主页Controller

FYJ.Blogs开发系列(七)-前台文章Controller

FYJ.Blogs开发系列(八)-自定义路由

FYJ.Blogs开发系列(九)-查询文章函数

FYJ.Blogs开发系列(十)-主页查询存储过程

FYJ.Blogs开发系列(十一)-后记

这个页集成了添加和修改

@model Blogs.ViewModel.MyBlog.Article

@{
    Layout = null;
    var contentModel = ViewData["content"] as Blogs.Entity.blog_tb_article_content;
    if (contentModel == null)
    {
        contentModel = new Blogs.Entity.blog_tb_article_content();
    }
}

        [object Object]            [object Object]            [object Object]    [object Object]        [object Object]                [object Object]        [object Object]            
    
                    @using (Html.BeginForm("Edit", null, FormMethod.Post, new { Id = "EditForm" }))
    {
        @Html.AntiForgeryToken()
        @Html.ValidationSummary(true)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            }



上一篇:wordpress3.6 修改的地方

下一篇:个人代码全部开源


0 评论

查看所有评论

给个评论吧