上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 18 下一页
摘要: sqlite常用sql语句 --返回UTC时间 select CURRENT_TIMESTAMP; --返回本地时间 select datetime(CURRENT_TIMESTAMP,'localtime'); --时间转换,时间转换时要求: yyyy-MM-dd,例如: 2008-08-09 S 阅读全文
posted @ 2014-03-26 14:51 深南大道 阅读(734) 评论(0) 推荐(0)
摘要: public string passText { get { return textBox1.Text; } } //Form1中还有个按钮button1在其点击事件中有: private void button1_Click(object sender, EventArgs e) { Form2 阅读全文
posted @ 2014-03-26 13:02 深南大道 阅读(221) 评论(0) 推荐(0)
摘要: private void button1_Click(object sender, EventArgs e) { //Sqlite使用事务批量操作 极大的提高速度 DateTime starttime = DateTime.Now; using (SQLiteConnection con = new 阅读全文
posted @ 2014-03-26 12:58 深南大道 阅读(422) 评论(0) 推荐(0)
摘要: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.o 阅读全文
posted @ 2014-01-15 10:29 深南大道 阅读(1129) 评论(0) 推荐(0)
摘要: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <title>Jquery地图热点效果-鼠标经过弹出提示信息</t 阅读全文
posted @ 2014-01-10 10:58 深南大道 阅读(284) 评论(0) 推荐(0)
摘要: /// <reference path="jquery-1.8.0.min.js" /> /* * DIV或元素居中 * @return */ jQuery.fn.mCenterDiv = function () { this.css("position", "absolute"); this.cs 阅读全文
posted @ 2014-01-08 17:00 深南大道 阅读(143) 评论(0) 推荐(0)
摘要: jQuery插件的开发包括两种: 一种是类级别的插件开发,即给jQuery添加新的全局函数,相当于给jQuery类本身添加方法。jQuery的全局函数就是属于jQuery命名空间的函数,另一种是对象级别的插件开发,即给jQuery对象添加方法。下面就两种函数的开发做详细的说明。 1、类级别的插件开发 阅读全文
posted @ 2014-01-07 14:39 深南大道 阅读(132) 评论(0) 推荐(0)
摘要: 1.新建项目 --》 Windows 服务 2.Service1.cs代码 3.在Service1.cs设计页面右键添加安装程序 4.ProjectInstaller.cs设计页面中 serviceInstaller1属性中设置: Description(系统服务的描述) DisplayName ( 阅读全文
posted @ 2014-01-07 14:08 深南大道 阅读(653) 评论(0) 推荐(0)
摘要: protected void Page_Load(object sender, EventArgs e) { List<string> studentNames = new List<string>(); studentNames.Add("John"); studentNames.Add("Mar 阅读全文
posted @ 2014-01-02 10:59 深南大道 阅读(2053) 评论(0) 推荐(0)
摘要: //each遍历文本框 清空默认值 $(".maincenterul1").find("input,textarea").each(function () { //保存当前文本框的值 var vdefault = this.value; $(this).focus(function () { if 阅读全文
posted @ 2013-12-30 14:18 深南大道 阅读(174) 评论(0) 推荐(0)
摘要: 使用jquery-qrcode生成二维码,支持中文 //jquery.qrcode.min.js (function (r) { r.fn.qrcode = function (h) { var s; function u(a) { this.mode = s; this.data = a } function ... 阅读全文
posted @ 2013-12-26 15:52 深南大道 阅读(149) 评论(0) 推荐(0)
摘要: function showLoad(tipInfo, type, autohide) { var pic = ""; switch (type) { case 0: // loading pic = "./Images/loading.gif"; break; case 1: // ok ... 阅读全文
posted @ 2013-12-20 11:46 深南大道 阅读(206) 评论(0) 推荐(0)
摘要: MsChart图表控件 ... 阅读全文
posted @ 2013-12-16 17:37 深南大道 阅读(243) 评论(0) 推荐(0)
摘要: $.ajax({ type: "POST", url: "some.php", data: "name=John&location=Boston", //第一种方式传参 // data: {name:"John",location:"Boston"} //第二种方式传参 // data: {foo: 阅读全文
posted @ 2013-12-16 13:53 深南大道 阅读(342) 评论(0) 推荐(0)
摘要: using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; public partia... 阅读全文
posted @ 2013-12-14 16:40 深南大道 阅读(412) 评论(0) 推荐(0)
摘要: Ajax和getJSON获取后台普通Json数据和层级Json数据解析 方式一 ____________________________________ 方式二 ____________________________________ 方式三 _____... 阅读全文
posted @ 2013-12-14 10:56 深南大道 阅读(193) 评论(0) 推荐(0)
摘要: 在.net 2.0中提取这样的json {"name":"lily","age":23,"addr":{"city":guangzhou,"province":guangdong}} 引用命名空间 using Newtonsoft.Json; using Newtonsoft.Json.Linq; 阅读全文
posted @ 2013-12-13 17:23 深南大道 阅读(788) 评论(0) 推荐(0)
摘要: using System; using System.Web; using System.Web.Script.Serialization; using System.IO; using System.Text; using System.Collections.Generic; using Newtonsoft.Json;... 阅读全文
posted @ 2013-12-09 11:38 深南大道 阅读(176) 评论(0) 推荐(0)
摘要: JSORDER 案例 案例一:我的菜单(点击菜名即可加入菜单) 红烧豆腐 12元 毛血旺 32元 套餐:京酱肉丝+2米饭 18元 using System; using System.Web; using System.Data; using System.Web... 阅读全文
posted @ 2013-12-07 13:58 深南大道 阅读(137) 评论(0) 推荐(0)
摘要: Qtip2 插件提示 测试一 测试二 测试三 测试四 测试五 测试六 测试七 $.fn.qtip.defaults = { // 页面加载完成就创建提示信息的元素 prerender: false, // 为提示信息设置id,如设置为myT... 阅读全文
posted @ 2013-12-06 16:37 深南大道 阅读(198) 评论(0) 推荐(0)
摘要: Jquery Uploadify上传带进度条,且多参数 上传| 取消上传 using System; using System.W... 阅读全文
posted @ 2013-12-05 17:39 深南大道 阅读(195) 评论(0) 推荐(0)
摘要: 效果如下 阅读全文
posted @ 2013-12-04 15:42 深南大道 阅读(217) 评论(0) 推荐(0)
摘要: Uploadify有一个参数是 buttonText 这个无论你怎么改都不支持中文,因为插件在js里用了一个转码方法把这个参数的值转过码了,解码的地方在那个swf文件里,看不到代码,所以这条路不行。 另一个参数,网上很少提到,是 buttonImg( 按钮图片),这时你完全可以用一个图片来替换掉插件 阅读全文
posted @ 2013-12-02 15:29 深南大道 阅读(276) 评论(0) 推荐(0)
摘要: <%@ Page Language="C#" AutoEventWireup="true" CodeFile="WebPrint.aspx.cs" Inherits="WebPrint" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transiti 阅读全文
posted @ 2013-12-02 14:47 深南大道 阅读(1134) 评论(0) 推荐(0)
摘要: --解决方法 --日志文件满而造成SQL数据库无法写入文件时,可用两种方法: --查看数据库日志大小 dbcc sqlperf(logspace) --清空日志。 --1.打开查询分析器,输入命令 DUMP TRANSACTION 数据库名 WITH NO_LOG --2.再打开企业管理器--右键你 阅读全文
posted @ 2013-12-02 12:38 深南大道 阅读(1230) 评论(0) 推荐(0)
摘要: 生成二维码 请输入内容: using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI;... 阅读全文
posted @ 2013-12-02 11:32 深南大道 阅读(254) 评论(0) 推荐(0)
摘要: jQueryAjaxJson取值示例 using System; //新增 using System.Web.Script.Serialization; using System.Collections.Generic; public partial class AjaxQuery : System.Web.UI.Page { ... 阅读全文
posted @ 2013-11-30 16:30 深南大道 阅读(183) 评论(0) 推荐(0)
摘要: function IsEmail(str) { var r = /^[a-zA-Z0-9._%-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,4}$/; if (r.test(str)) { return true; } else { return false; } } functio 阅读全文
posted @ 2013-11-29 17:50 深南大道 阅读(163) 评论(0) 推荐(0)
摘要: 商品分类 using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Data; using Syst... 阅读全文
posted @ 2013-11-29 12:37 深南大道 阅读(326) 评论(0) 推荐(0)
摘要: using System; using System.Collections.Generic; using System.Text; namespace MSCL { #region 使用示例 /* List<Ftv> ftvlist = new List<Ftv>(); ftvlist.Add(n 阅读全文
posted @ 2013-11-22 16:56 深南大道 阅读(259) 评论(0) 推荐(0)
上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 18 下一页