posted @ 2009-06-19 14:37 闲坐敲棋 阅读(125) 评论(0) 推荐(0) 编辑
摘要:
<asp:TemplateField> <HeaderTemplate> 删除<input id="CheckAll" type="checkbox" onclick="selectAll(this);"/> </HeaderTemplate> <ItemTemplate> <asp:CheckBox ID="CbDelete" r... 阅读全文
摘要:
private void Form1_Load(object sender, EventArgs e) { if (DialogResult.OK == MessageBox.Show("确定要重新安装IE吗?", "提示信息", MessageBoxButtons.OKCancel, MessageBoxIcon.Information)) { RegeditUpdate();// 执行 } e... 阅读全文
posted @ 2009-06-18 20:05 闲坐敲棋 阅读(163) 评论(0) 推荐(0) 编辑
摘要:
http://blog.csdn.net/shaily/archive/2009/04/25/4122304.aspx 阅读全文
posted @ 2009-06-18 11:23 闲坐敲棋 阅读(1946) 评论(0) 推荐(0) 编辑
摘要:
using System;using System.Collections.Generic;using System.Text;using System.Data;using System.Data.Common;using System.Data.OleDb;using System.IO;/// <summary>/// DataSet2CSV 的摘要说明/// </summ... 阅读全文
posted @ 2009-06-12 16:01 闲坐敲棋 阅读(267) 评论(0) 推荐(0) 编辑
摘要:
/// <summary> /// 求点到直线的垂足 /// </summary> /// <param name="x1">点横坐标</param> /// <param name="y1">点纵坐标</param> /// <param name="A">直线方程一般式系数A</param> ///... 阅读全文
posted @ 2009-06-02 08:54 闲坐敲棋 阅读(965) 评论(0) 推荐(0) 编辑
摘要:
/// <summary> /// 取得某月的第一天 /// </summary> /// <param name="datetime">要取得月份第一天的时间</param> /// <returns></returns> private static DateTime FirstDayOfMonth(DateTime da... 阅读全文
posted @ 2009-05-31 15:08 闲坐敲棋 阅读(225) 评论(0) 推荐(0) 编辑
摘要:
public static double Fun_Rad(double d) { return d * Math.PI / 180.0; } public static double Fun_GetDistance(double lat1, double lng1, double lat2, double lng2) { double d_EarthRadius = 6378.137; doubl... 阅读全文
posted @ 2009-05-25 17:07 闲坐敲棋 阅读(303) 评论(0) 推荐(0) 编辑
摘要:
引入 System.Web.Extensions.Design.dll 和 System.Web.Extensions.dll 两个文件webconfig 配置:-----------------------------------------<assemblies></assemblies>之间加入 :<add assembly="System.Web.Extens... 阅读全文
posted @ 2009-05-25 10:18 闲坐敲棋 阅读(364) 评论(0) 推荐(0) 编辑