摘要: using System;using System.Collections.Generic;using System.Linq;using System.Web;using System.Web.Services;namespace DoBest.Agriculture.Web{ /// ... 阅读全文
posted @ 2015-06-02 21:39 calochCN 阅读(356) 评论(0) 推荐(0) 编辑
摘要: 1.clientaccesspolicy.xml 2.crossdomain.xml 阅读全文
posted @ 2015-06-02 21:36 calochCN 阅读(219) 评论(0) 推荐(0) 编辑
摘要: 1. client call method [上线的话也只是需要改一下wsdl地址就可以了]/// /// 动态webservice调用 /// /// string public string wsTest() { ... 阅读全文
posted @ 2015-06-02 20:52 calochCN 阅读(1008) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Data;using System.Configuration;using System.Linq;using System.Web;using System.Web.Security;using System.Web.UI;using Syste... 阅读全文
posted @ 2015-06-02 16:11 calochCN 阅读(957) 评论(0) 推荐(0) 编辑
摘要: /* File Created: 四月 28, 2015 *///日期加上天数得到新的日期//dateTemp 需要参加计算的日期,days要添加的天数,返回新的日期,日期格式:YYYY-MM-DDfunction getNewDay(dateTemp, days) { var dateTem... 阅读全文
posted @ 2015-06-02 15:13 calochCN 阅读(1519) 评论(0) 推荐(0) 编辑
摘要: 使用ef,有时候会遇到,要对一个对象进行拷贝复制,可是一般的方法,拷贝后会提示此对象的实例在上下文的 entitystate已经存在,就需要用一种拷贝。简单的拷贝只拷贝了值类型,对引用类型的拷贝需要使用递归,依次循环到底。publicobjectCopy(objectobj){ Objecttarg... 阅读全文
posted @ 2015-06-02 14:06 calochCN 阅读(1367) 评论(0) 推荐(0) 编辑
摘要: 网易博客下载LOFTER客户端注册登录加关注凡图的编程之路2012年7月从一个编程新手的点点滴滴首页日志LOFTER相册博友关于我日志关于我Holyson闻道有先后,术业有专攻加博友关注他文章分类·css(2)·.net控件事件(3)·帐号密码(0)·JS与JQ(12)·sql server指南(5... 阅读全文
posted @ 2015-06-02 08:42 calochCN 阅读(226) 评论(0) 推荐(0) 编辑