上一页 1 2 3 4 5 6 ··· 31 下一页
摘要: using System;using System.Collections.Generic;using System.Text;namespace IntrBar{ public enum DateInterval { Day, DayOfYear, Hour, Minute, Month, Quarter, Second, Weekday, WeekOfYear, Year } public c... 阅读全文
posted @ 2009-06-15 14:45 冷火 阅读(550) 评论(0) 推荐(0) 编辑
摘要: private void bntNext_Click(object sender, EventArgs e) { if (dataGridView1.Rows.Count > 0) { if (dataGridView1.CurrentCell.RowIndex != dataGridView1.Rows.Count - 1) { int last = dataGridView1.Curre... 阅读全文
posted @ 2009-03-29 00:38 冷火 阅读(591) 评论(0) 推荐(0) 编辑
摘要: ridView控件修改、删除例子,修改时含有DropDownList控件。示例运行效果图:GridViewUp.aspx文件代码:<%@PageLanguage="C#"AutoEventWireup="true"CodeFile="GridViewUp.aspx.cs"Inherits="gridview_GridViewUp"%><!DOCTYPEhtmlPUBLIC"-//... 阅读全文
posted @ 2009-03-14 18:42 冷火 阅读(751) 评论(0) 推荐(0) 编辑
摘要: 局域网QQ,无客户端和服务端之分,局域网的计算机运行本程序就可以互相看见,可以自由聊天和传文件。本版较之1.0版的改进之处: 使用数据结构类型传送数据; 增加传文件功能(有进度条);考虑大家重现本程序方便,本程序一直没有用到任何额外的控件和子窗体版本依然是在VS2003下编译,只要贴进编译器中就可以重现。转换到VS2005平台的方法:把程序拷到vs2005中form1.cs里面 在“窗... 阅读全文
posted @ 2009-03-06 20:29 冷火 阅读(438) 评论(1) 推荐(0) 编辑
摘要: JSON的数据格式:{"xx":"xx1","yy":[{"yy1":"yyy1"},{"yy2":"yyy2"}]}后台部分:(合成JSON数据格式)//这是获取根目录public string getRootTree() { using(SqlDataReader dr=SqlHelper.ExecuteReader(conn,System.Data.CommandType.Text,"sel... 阅读全文
posted @ 2008-10-18 22:37 冷火 阅读(311) 评论(0) 推荐(0) 编辑
摘要: 效果图如下: 代码如下: accordion.js: var stretchers = $$('div.accordion'); stretchers.each(function(item)...{ item.setStyles(...{'height': '0', 'overflow': 'hidden'}); }); window.onload = function().... 阅读全文
posted @ 2008-01-11 14:57 冷火 阅读(1026) 评论(0) 推荐(0) 编辑
摘要: 庄子心斋法 陈撄宁讲解 静功要做到使大脑绝对安静,排除一切思想杂念。这是下手做静功的首要原则,也是治疗疾病最为有效的良方。但是人们的思想习惯,大脑总是在不停地考虑问题,即使睡觉也会做梦,要让它一下停止不动,很难办到。为了达到静的目的,古人创立了许多法门,比较起来,以道家庄子的“心斋”中所谈的“听息”法为最好。所谓“听息”就是听自己的呼吸之气。初步入手只用耳听,不加任何意念。但是听息并非专一死... 阅读全文
posted @ 2008-01-05 13:55 冷火 阅读(363) 评论(0) 推荐(0) 编辑
摘要: 汉字验证码技术:它比字母跟数字混合技术更先进。主要用过生成汉字的区位码将其转换为汉字,区位码是汉字一一对应的编码。用4为数字表示,前面两位从01到94成为区码,同理后面两位成为位码。懒得打字就贴出出要的程序. CheckCode.aspx.cs: 1public partial class _Default : System.Web.UI.Page 2{ 3protected v... 阅读全文
posted @ 2008-01-05 13:43 冷火 阅读(491) 评论(0) 推荐(0) 编辑
摘要: Overview This document presents example configurations for the built-in appenders. These configurations are designed to work with the log4net.Config.DOMConfigurator and the log4net.Repository.Hierarc... 阅读全文
posted @ 2007-12-20 09:32 冷火 阅读(792) 评论(0) 推荐(0) 编辑
摘要: // XamlHelper.cs // -------------------------------------------- // 对XAML进行编辑操作的辅助类: // 对选中的XAML进行操作; 对XAML代码进行对齐整理; 对XAML标记进行着色显示等 // -------------------------------------------- using System; using ... 阅读全文
posted @ 2007-12-18 14:14 冷火 阅读(431) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 31 下一页