AJAX = Asynchronous JavaScript and XML(异步的javaScript和XML)
它是一种使用现有标准的新方法
与服务器交换数据并更新部分网页的艺术,在不重新加载整个页的情况下。
一个简单的DEMO
change this text
onclick="loadXMLDoc()">Change Content
func...
分类:
Web程序 时间:
2014-12-02 15:13:09
阅读次数:
193
asp.net C# 时间格式大全DateTime dt = DateTime.Now;// Label1.Text = dt.ToString();//2005-11-5 13:21:25// Label2.Text = dt.ToFileTime().ToString();//127756416...
body的属性:bgcolor 页面背景色text 文字颜色topmargin 上页边距leftmargin 左页边距rightmargin 右页边距bottomargin 下页边距background 背景壁纸一、一般标签1、格式控制标签控制字体颜色:color="##FF0000";字体:fac...
分类:
Web程序 时间:
2014-12-02 14:58:55
阅读次数:
165
最新ASP.NET导出EXCEL类说明:可以导出ASP.NET页面和DATAGRID(WebControl)数据,可以导出表单头using System;using System.Data;using System.Text;using System.Web;using System.Web.UI;...
分类:
Web程序 时间:
2014-12-02 14:49:00
阅读次数:
109
ASP.NET常用加密解密方法一、MD5加密解密1、加密C# 代码 public static string ToMd5(string clearString) { Byte[] clearBytes = System.Text.Encoding.Unicode.GetBytes(clearStr....
分类:
Web程序 时间:
2014-12-02 14:48:36
阅读次数:
134
其实就是摄像头在后台抓个图,可以用于监控1. [代码][C#]代码using System;using System.Collections.Generic;using System.Text;using System.Diagnostics;namespace MyVideoService{ cl...
在 .NET 3.5 及以下版本中,如下做法是错误的:'>应该按下面的做法:'>据说 .NET 4.5 是两种方式都可以,这个我没有测试过,只是有一天晃眼看了一下,也没认真看。
分类:
其他好文 时间:
2014-12-02 14:47:53
阅读次数:
153
round() 遵循四舍五入把原值转化为指定小数位数,如:round(1.45,0) = 1;round(1.55,0)=2floor()向下取整 如:floor(1.45)= 1,floor(1.55) = 1 ,floor(-1.45)= -2 ,floor(-1.55) = -2ceiling...
分类:
数据库 时间:
2014-12-02 14:44:03
阅读次数:
229
java文件字体大小:1. Window---> preferences ---> General ---> Appearance ---> Java ---> Java Editor Text Fontxml文件字体大小:1. Window---> preferences ---> General...
分类:
编程语言 时间:
2014-12-02 14:43:27
阅读次数:
121
protected int GetLength(string strValue) { byte[] myByte = System.Text.Encoding.Default.GetBytes(strValue); return myByte.Length; ...
分类:
Web程序 时间:
2014-12-02 13:23:43
阅读次数:
173