摘要:
using System;using System.Collections.Generic;using System.Linq;using System.Net.Http;using System.Text;using System.Web;using System.Web.Http;using S 阅读全文
摘要:
什么是位图?位图也称像素图像或点阵图像,是由多个点组成的,这些点被称为像素。位图可以模仿照片的真实效果,具有表现力强、细腻、层次多和细节多等优点。 图片的压缩格式:在Windows系统中,我们常见的bmp图片文件(bitmap file)就是位图图片。位图图片的文件大小一般都是最大的(这个可以从上上 阅读全文
摘要:
首先下载windows平台下的memcached,然后安装。安装完之后就是启动memcached服务了,你可以在cmd下用dos命令输入,也可以在计算机管理->服务->memcached->启动.来开启服务. 随后就是在项目中引入相关dll:Commons.dll,ICSharpCode.Sharp 阅读全文
摘要:
jQuery.ajax() 函数详解 traditional 如果你希望使用传统方式来序列化参数,将该属性设为true。 传递数组时, traditional必须为true var arr = []; for (var i = 1; i < dgs.rows.length; i++) { arr.p 阅读全文
摘要:
首先在 aspx.cs文件里建一个公开的静态方法,然后加上WebMethod属性。 如: [WebMethod] public static string GetUserName() { //...... } 如果要在这个方法里操作session,那还得将WebMethod的EnableSessio 阅读全文
摘要:
Cookie例子 HttpCookie cookie = new HttpCookie("mjsclient"); if (cb_remeberme.Checked) { cookie.Expires = System.DateTime.Now.AddDays(7); } cookie.Values 阅读全文
摘要:
Asp.net MVC中Html.Partial, RenderPartial, Action,RenderAction 区别和用法 Asp.net MVC中Html.Partial, RenderPartial, Action,RenderAction 区别和用法 Partial 和RenderP 阅读全文
摘要:
DataRowView dv =(DataRowView)e.Row.DataItem;string id=dv.Row["ProjectID"].ToString(); 1、在行绑定(RowDataBound)事件中使用 //获得行数据绑定中的TextBox1 protected void gv1 阅读全文
摘要:
Sql Server中查询今天、昨天、本周、上周、本月、上月数据 在做Sql Server开发的时候有时需要获取表中今天、昨天、本周、上周、本月、上月等数据,这时候就需要使用DATEDIFF()函数及GetDate()函数了。DATEDIFF ( datepart , startdate , end 阅读全文
摘要:
Oracle常用语句语法汇总 Oracle10g 1 第一章Oracle命令 a) 系统管理员连接 conn */* as sysdba b) 查询当前用户 show user c) 创建新用户 create user 用户名 identified by 密码(密码不能以数字开头)。例如create 阅读全文