升级windows mysql版本
Windows 11安装WSL2
N150 万兆小主机折腾记
letsencrypt 自动续期
Janus-Pro 使用
AI学习记录
通过VLAN 进行局域网隔离
阿里云Ubuntu 重0开始
PVE 中LXC的Ubuntu安装minikube
Office Online安装
最新发布
2014.05.30
admin
阅读(4042)
评论(0)
USE[db_blogs]
GO
/******Object:StoredProcedure[dbo].[blog_proc_main]ScriptDate:2014/5/2923:52:35******/
SETANSI_NULLSON
GO
SETQUOTED_IDENTIFIERON
GO
--=============================================
--Author: <fangyj>
--Createdate:<2012-12-30>
--Description: <个人博客首页>
--分类 [...] 阅读全文
2014.05.30
admin
阅读(4076)
评论(0)
USE[db_blogs]
GO
/******Object:UserDefinedFunction[dbo].[blog_func_articleTable]ScriptDate:2014/5/2923:42:13******/
SETANSI_NULLSON
GO
SETQUOTED_IDENTIFIERON
GO
--=============================================
--Author: <Author,,Name>
--Createdate:<CreateDate,,>
--Description: [...] 阅读全文
2014.05.30
admin
阅读(4270)
评论(0)
实现伪静态有很多种方法,不过我发现asp.net mvc的路由也可以实现这里有个问题倒是纠结了很久,就是需要注释掉RouteConfig.cs中默认的路由或者移动都最后routes.MapRoute(
name:"Default",
url:"{controller}/{action}/{id}",
defaults:new{controller="Blog",action="Index",id=UrlParameter.Optional}
);然后自定一个路由类继承RouteBase 重写GetRou [...] 阅读全文
2014.05.30
admin
阅读(4474)
评论(0)
usingBlogs.Entity;
usingBlogs.UI.Main.Models;
usingFYJ.Common;
usingFYJ.Web.NetPager;
usingMicrosoft.Practices.Unity;
usingSystem;
usingSystem.Collections.Generic;
usingSystem.Data;
usingSystem.IO;
usingSystem.Linq;
usingSystem.Text.RegularExpressions;
usingSystem.Web.Mvc;
namespaceBlo [...] 阅读全文
2014.05.30
admin
阅读(4258)
评论(0)
usingBlogs.UI.Main.Models;
usingFYJ.Web.NetPager;
usingMicrosoft.Practices.Unity;
usingSystem;
usingSystem.Data;
usingSystem.IO;
usingSystem.Linq;
usingSystem.Text.RegularExpressions;
usingSystem.Web.Mvc;
namespaceBlogs.UI.Main.Controllers
{
publicclassBlogController:BaseController
{
[...] 阅读全文
2014.05.30
admin
阅读(3965)
评论(0)
usingBlogs.Entity;
usingBlogs.UI.Main.Models;
usingSystem;
usingSystem.Collections.Generic;
usingSystem.Data;
usingSystem.Web.Caching;
usingSystem.Web.Mvc;
usingSystem.Linq;
usingSystem.Xml;
usingFYJ.Web;
usingFYJ.Common;
namespaceBlogs.UI.Main.Controllers
{
publicclassBaseController: [...] 阅读全文
2014.05.30
admin
阅读(4260)
评论(0)
usingBlogs.Common;
usingBlogs.Entity;
usingBlogs.UI.Admin.Filters;
usingBlogs.ViewModel;
usingBlogs.ViewModel.MyBlog;
usingFYJ.Pager;
usingFYJ.Common;
usingMicrosoft.Practices.Unity;
usingSystem;
usingSystem.Collections.Generic;
usingSystem.Data;
usingSystem.IO;
usingSystem.Linq;
usingS [...] 阅读全文
2014.05.30
admin
阅读(4383)
评论(0)
这个页集成了添加和修改@modelBlogs.ViewModel.MyBlog.Article
@{
Layout=null;
varcontentModel=ViewData["content"]asBlogs.Entity.blog_tb_article_content;
if(contentModel==null)
{
contentModel=newBlogs.Entity.blog_tb_article_content();
}
}
<!DOCTYPEhtml>
<htmlxmlns="http://ww [...] 阅读全文
2014.05.30
admin
阅读(4274)
评论(0)
@modelBlogs.Entity.blog_tb_article
@{
ViewBag.Title="文章管理";
Layout="~/Views/Shared/_Index_Layout.cshtml";
}
<scriptsrc="http://static.fyj.me/js/My97DatePicker/WdatePicker.js"type="text/javascript"></script>
<divid="modalwindow"cl [...] 阅读全文
2014.05.25
admin
阅读(3874)
评论(0)
很早很早就想做个自己博客,觉得写实际东西的话能学到不少技术,起码应该比光看书要好。我是从JAVA开始逐渐入门的,最开始写JAVA 桌面程序,渐渐开始对编程开始感兴趣。后来又开始做jsp网页,然后同学说要学SSH框架,有一次要做一个CAS 单点登录...弄了一个月,还是没整出来点啥,觉得真是太麻烦。 [...] 阅读全文