刘垣瑾 Lauyj

毕业于山东海天软件工程学院

yj.Lau

导航

2015年8月8日 #

AngularJS 学习随笔(一)

摘要: AngularJS 初始化加载流程:1:浏览器载入HTML,然后把它解析成DOM2:浏览器载入Angular.JS 脚本3:AngularJS 等到DOMContentLoaded时间触发4:AngularJS寻找ng-app 指令,这个指令指示了应用的边界5:使用ng-app 中指定的模块来配置注... 阅读全文

posted @ 2015-08-08 23:26 yj.Lau 阅读(175) 评论(0) 推荐(0) 编辑

2015年6月8日 #

WinForm 实现登录,验证成功,关闭登录界面,显示主界面

摘要: 点击登录按钮时;1 if (this.txtLoginName.Text.Trim()=="admin" && this.txtLoginPwd.Text.Trim()=="123456")2 {3 this.DialogResult = D... 阅读全文

posted @ 2015-06-08 17:52 yj.Lau 阅读(626) 评论(0) 推荐(0) 编辑

2015年5月5日 #

html 文件动态加载.PDI 流程图

摘要: 1 //javascript脚本 1 //html 代码 此处a 标签的href 可以是从db中取,也可以是其它的地方传过来 2 3 4 13 14 阅读全文

posted @ 2015-05-05 18:38 yj.Lau 阅读(713) 评论(0) 推荐(0) 编辑

2015年3月27日 #

sql 截取两个字符串之间的字符

摘要: select SUBSTRING(templatepath,CHARINDEX('/',templatepath)+1,CHARINDEX('.', templatepath)-CHARINDEX('/', templatepath)-1)as tt from tz_tasktemplate or... 阅读全文

posted @ 2015-03-27 16:50 yj.Lau 阅读(2425) 评论(0) 推荐(0) 编辑

2015年3月25日 #

C#Winform版获取Excel文件的内容

摘要: 1 public MainForm() 2 { 3 InitializeComponent(); 4 //this.ofd_in.DefaultExt = ".xlsx"; 5 this.ofd_in... 阅读全文

posted @ 2015-03-25 09:54 yj.Lau 阅读(833) 评论(0) 推荐(0) 编辑

2015年3月22日 #

MVC 提交表单

摘要: 1 public ActionResult UserLogin() 2 { 3 var UserName = Request["username"]; 4 var Password = Request["password"]; 5 ... 阅读全文

posted @ 2015-03-22 14:54 yj.Lau 阅读(246) 评论(0) 推荐(0) 编辑

2015年3月21日 #

MVC常用 ActionResult

摘要: 1.EmptyResult2.ContentResult3.FileResult4.JavaScriptResult5.JsonResult6.HttpStatusCodeResult7.RedirectResult/RedirectToRouteResult 阅读全文

posted @ 2015-03-21 22:26 yj.Lau 阅读(191) 评论(0) 推荐(0) 编辑