摘要: Web API 强势入门指南;Web API 入门指南 - 闲话安全;实例快速上手 -ASP.NET 4.5新特性WebAPI从入门到精通;Asp.net WebApi 项目示例(增删改查). 阅读全文
posted @ 2015-11-05 10:31 garsonguo 阅读(452) 评论(1) 推荐(1) 编辑
摘要: 关键代码OracleDataAdapter da=new OracleDataAdapter(); string sql_select = string.Format("select id,dt_date,dt_time,dt_hours from {0}", biao... 阅读全文
posted @ 2015-10-22 17:06 garsonguo 阅读(1426) 评论(0) 推荐(0) 编辑
摘要: 1 USE [NyghSql] 2 GO 3 /****** Object: StoredProcedure [dbo].[delete_date] Script Date: 10/13/2015 17:30:06 ******/ 4 SET ANSI_NULLS ON 5 GO 6 SE... 阅读全文
posted @ 2015-10-13 11:42 garsonguo 阅读(238) 评论(0) 推荐(0) 编辑
只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2015-10-09 09:59 garsonguo 阅读(4) 评论(0) 推荐(0) 编辑
摘要: 1.aspx ... 阅读全文
posted @ 2015-08-14 16:27 garsonguo 阅读(2355) 评论(0) 推荐(0) 编辑
摘要: 1.首先介绍下js操作cookie//写 function setCookie(name,value) { var Days = 30; var exp = new Date(); exp.setTime(exp.getTime() + Days*24*6... 阅读全文
posted @ 2015-08-14 16:18 garsonguo 阅读(1026) 评论(0) 推荐(0) 编辑
摘要: 1.所需插件jquery.media.js或者pdfobject.js代码: --> View Code注意url的写法,两种插件写法不同。 阅读全文
posted @ 2015-08-12 09:27 garsonguo 阅读(328) 评论(0) 推荐(0) 编辑
摘要: //若从excel中读取的时间值为空值时,做如下转换string YDKGSJ = string.Empty; if (dbdata.Rows[i]["约定开工时间"].ToString() == "") ... 阅读全文
posted @ 2015-08-04 11:29 garsonguo 阅读(538) 评论(0) 推荐(0) 编辑
摘要: 1.新建Controllerpublic ActionResult Index() { return View(); } public ActionResult Person(int? id) { /... 阅读全文
posted @ 2015-07-29 17:53 garsonguo 阅读(3839) 评论(1) 推荐(0) 编辑
摘要: 1.项目中常常需要修改字段长度,但需要保留数据--增加业务受理 项目名称 字段长度alter table t_ywsl add aa varchar2(200);update t_ywsl set aa=proname,proname=null;commit;alter table t_ywsl m... 阅读全文
posted @ 2015-07-29 17:53 garsonguo 阅读(314) 评论(0) 推荐(0) 编辑