上一页 1 ··· 74 75 76 77 78 79 80 81 82 ··· 157 下一页

2014年1月9日

[转]C# WinForm动态调用远程Web服务

摘要: 本文转自:http://blog.csdn.net/muyangjun/article/details/79308711、添加服务引用2、在弹出的添加服务引用对话框地址栏中输入WebService地址, 如:http://localhost:6521/WebSite1/Service.asmx?WSDL3、输入命名空间名称或保持默认4、定义SoapClient变量 WebService.ServiceSoapClient SoapClient = new WindowsFormsApplication1.WebService.ServiceSoapClient();5、将新的重新配置WebSe 阅读全文

posted @ 2014-01-09 15:15 freeliver54 阅读(4994) 评论(0) 推荐(0)

2014年1月2日

[转]Loading, Editing, and Saving a Text File in HTML5 Using Javascript

摘要: 本文转自:http://thiscouldbebetter.wordpress.com/2012/12/18/loading-editing-and-saving-a-text-file-in-html5-using-javascrip/The HTML and JavaScript code below makes use of some features of HTML5 (specifically the “Blob” object, the File API, and the “download” attribute of the “a” tag) to allow the user 阅读全文

posted @ 2014-01-02 15:56 freeliver54 阅读(589) 评论(1) 推荐(0)

[转]显示农历日期的JS

摘要: 本文转自:http://blog.sina.com.cn/s/blog_47377e77010009xc.html New Document 可以在网页中显示一个带公历、农历、节日等的日历。 阅读全文

posted @ 2014-01-02 09:07 freeliver54 阅读(3915) 评论(0) 推荐(0)

2013年12月31日

[转]c# xml.Load() locking file on disk causing errors

摘要: 本文转自:http://stackoverflow.com/questions/1812598/c-sharp-xml-load-locking-file-on-disk-causing-errors问:I have a simple class XmlFileHelper as follows:publicXmlFileHelper(string xmlFilePath) { this.xmlFilePath = xmlFilePath; xmlDoc.Load(xmlFilePath); }this occurs when this class is used to by two runn 阅读全文

posted @ 2013-12-31 09:55 freeliver54 阅读(324) 评论(0) 推荐(0)

2013年12月27日

[转]使用 HTML5 索引型数据库的待办事项简要列表

摘要: 本文转自:http://www.html5rocks.com/zh/tutorials/indexeddb/todo/ ​ 阅读全文

posted @ 2013-12-27 08:54 freeliver54 阅读(737) 评论(1) 推荐(0)

2013年12月26日

[转]HTML5 本地存储

摘要: 本文转自:http://www.cnblogs.com/rainman/archive/2011/06/22/2086069.html1、sessionStorage2、localStorage3、Database Storage4、globalStorage5、兼容性参考文献本地持久化存储一直是本地客户端程序优于 web 程序的一个方面。对于本地应用程序,操作系统会一共一个抽象层,用于存储和获取特定于应用程序的数据,例如用户设置或者运行时状态。这些值可以被存储于注册表、INI 文件,或者其他什么地方,这取决于操作系统的实现。如果你的本地应用程序需要不简单是键值对形式的本地存储,你也可以使用嵌 阅读全文

posted @ 2013-12-26 10:15 freeliver54 阅读(234) 评论(1) 推荐(0)

Opera Mobile Classic Emulator

摘要: http://www.opera.com/zh-cn/developer/mobile-emulator 阅读全文

posted @ 2013-12-26 09:17 freeliver54 阅读(298) 评论(2) 推荐(0)

2013年12月25日

[转]Javascript的匿名函数

摘要: 本文转自:http://dancewithnet.com/2008/05/07/javascript-anonymous-function/一、什么是匿名函数?在Javascript定义一个函数一般有如下三种方式:函数关键字(function)语句:function fnMethodName(x){alert(x);}函数字面量(Function Literals):var fnMethodName = function(x){alert(x);}Function()构造函数:var fnMethodName = new Function('x','alert(x);& 阅读全文

posted @ 2013-12-25 16:48 freeliver54 阅读(175) 评论(0) 推荐(0)

2013年12月24日

override javascript escape funcation

摘要: var oldescape = window.escape;escape = function (sStr) { return oldescape(sStr).replace(/\+/g, '%2B').replace(/\"/g, '%22').replace(/\'/g, '%27').replace(/\//g, '%');} 阅读全文

posted @ 2013-12-24 09:37 freeliver54 阅读(365) 评论(0) 推荐(0)

2013年12月23日

[转]WinForm和WebForm下读取app.config web.config 中邮件配置的方法

摘要: 本文转自:http://blog.csdn.net/jinbinhan/article/details/15983861. 在WinForm下读取 App.config中的邮件配置语句如下: Configuration config = ConfigurationManager.OpenExeConfiguration(ConfigurationUserLevel.None);//OpenExeConfiguration2个方法的参数我也没搞清楚到底该怎么用。MailSettingsSectionGroup mailSettings = NetSectionGroup.GetSectionG. 阅读全文

posted @ 2013-12-23 09:57 freeliver54 阅读(1243) 评论(0) 推荐(0)

[书目20131223]Android、iPhone、Windows Phone手机网页及网站设计:最佳实践与设计精粹 - 张亚飞

摘要: 目录第I篇 手机版专用网站设计和开发入门篇第1章 准备创作环境和测试环境 31.1 使用Mobile Safari测试网页 41.1.1 iOS Simulator安装 51.1.2 使用Mobile Safari 61.2 使用IEMobile测试网页 71.2.1 Windows Phone 7 Emulator安装 81.2.2 使用IEMobile 91.3 使用Chrome Lite测试网页 101.3.1 Android Emulator安装 101.3.2 使用Chrome Lite 171.4 使用BlackBerry浏览器测试网页 191.4.1 BlackBerry模拟器安 阅读全文

posted @ 2013-12-23 09:16 freeliver54 阅读(599) 评论(1) 推荐(0)

2013年12月20日

[转]SQL Server 创建数据库邮件

摘要: 本文转自:http://www.cnblogs.com/gaizai/p/3358958.html一、 背景数据库发邮件通知数据库的运行状态(状态可以通过JOB形式获取)和信息,达到预警的效果。二、 基础知识msdb系统数据库保存有关Job,Database Mail,Nodifyication等等之类信息的。MSSQL2005之后的邮件功能,使用了Services Broker进行了队列处理。然后使用外部进程,这个可以在配置成功Mail以后查看任务管理器中的进程。另外 sp_send_dbmail是手动发送邮件的存储过程,我们必须显示的赋值才能发送。三、 图形界面方式创建数据库邮件下面就以S 阅读全文

posted @ 2013-12-20 09:45 freeliver54 阅读(453) 评论(0) 推荐(0)

[转]create a basic sql server 2005 trigger to send email alerts

摘要: 本文转自:http://blog.netnerds.net/2008/02/create-a-basic-sql-server-2005-trigger-to-send-e-mail-alerts/For as many times as I have read about sending e-mails using SQL Server triggers, I've rarely come across actual code samples. After someone asked for a "Triggers for Dummies" example in 阅读全文

posted @ 2013-12-20 09:17 freeliver54 阅读(285) 评论(0) 推荐(0)

2013年12月13日

前台js escape及后台C# Server.UrlEncode 对QueryString传参的含~!@#$%^&*等特殊字符的处理

摘要: 通常情况下,我们在List列表页面,会包含Create,Edit,Delete等操作按钮,而通常的处理是:Create按钮跳转到DataCreate.aspxEdit按钮跳转到DataEdit.aspx?DataId=1&DataName=abc一般在后台通过 string dataName = Request.QueryString["DataName"]的方式 来获取传入的参数然后 var DataModel = getModelByDataName(dataName)在DataId=1&DataName=abc时,没有特殊字符,参数接收正确,一切处理顺 阅读全文

posted @ 2013-12-13 11:45 freeliver54 阅读(2974) 评论(0) 推荐(0)

2013年12月11日

[转]MSSQL多列取最大或者最小值

摘要: 本文转自:http://blog.csdn.net/wufeng4552/article/details/4681510/*lvl1 lvl2 lvl3 lvl4 lvl 4 3 4 1 3 2 2 1 2 2 3 4 4 4 3 4 3 1 2 2 怎么写代码 去比较lvl1、lvl2、lvl3、lvl4 对应每行的值,取其中最小的,将其值添加到lvl列里 运行结果应该是 lvl 1 1 2 3 1*/-... 阅读全文

posted @ 2013-12-11 14:19 freeliver54 阅读(556) 评论(0) 推荐(1)

双色球相关

摘要: http://sports.sina.com.cn/l/tubiao/ssq_lanqiuzs.html 阅读全文

posted @ 2013-12-11 12:10 freeliver54 阅读(167) 评论(0) 推荐(0)

2013年12月2日

儿童教学相关网站

摘要: 贝瓦 http://www.beva.com/儿童 http://www.61flash.com/汉字笔画 http://nlp.blcu.edu.cn/others/center/sys/bishun/flash.php儿童数学 http://www.tom61.com/s/shaoershuxue/ 阅读全文

posted @ 2013-12-02 10:03 freeliver54 阅读(367) 评论(0) 推荐(0)

2013年11月27日

[转]javascript实现限制上传文件的大​​小

摘要: 本文转自:http://www.micmiu.com/lang/javascript/js-check-filesize/目录基本思路示例[一]、基本思路在FireFox、Chrome浏览器中可以根据document.getElementById(“id_file”).files[0].size获取上传文件的大小(字节数),而IE浏览器中不支持该属性,只能借助标签的dynsrc属性,来间接实现获取文件的大小(但需要同意ActiveX控件的运行)。[二]、示例测试代码:filesize-check.html1234567js check file size @ www.micmiu.com891 阅读全文

posted @ 2013-11-27 15:28 freeliver54 阅读(287) 评论(0) 推荐(0)

2013年11月26日

使用存储过程 修改符合条件的数据表的相关字段 的数据类型

摘要: 处理思路:查询系统表 获得符合条件的数据表 及 其列名 和 大小通过循环 执行动态SQL语句实现Column Type 的改变本次示例效果:将Product_开头的数据表中,varchar类型的Column类型 修改为nvarchar代码如下:if exists (select * from dbo.sysobjects where id = object_id(N'[spChangeProductTableVarcharColumnToNvarchar]') and OBJECTPROPERTY(id, N'IsProcedure') = 1)drop pro 阅读全文

posted @ 2013-11-26 09:56 freeliver54 阅读(1525) 评论(1) 推荐(0)

[转]bat批处理实现TXT文本合并

摘要: 本文转自:http://quanhuaming.blog.163.com/blog/static/1405693672010210101124905/有朋友问是否有可以合并TXT文本文件的软件,于是想起曾经用过的一个批处理文件,只有一行代码,跟大家分享一下,或许什么时候您就可以用上。下面是代码:copy *.txt新文件.txt 方法是:打开记事本,把上面的代码复上去,保存为xx.txt,然后修改扩展名,改为xx.bat,把它拷贝到要合并的TXT文件目录中,执行,就可以在当前目录中生成一个名为“新文件.txt”的新的TXT文件,这便是合并后的新文件。====================.. 阅读全文

posted @ 2013-11-26 09:29 freeliver54 阅读(9365) 评论(0) 推荐(0)

上一页 1 ··· 74 75 76 77 78 79 80 81 82 ··· 157 下一页

导航