摘要: using System;using System.Data;using System.Drawing;using System.Windows.Forms;using Microsoft.VisualStudio.Tools.Applications.Runtime;using Excel = Microsoft.Office.Interop.Excel;using Office = Micro... 阅读全文
posted @ 2007-08-03 15:07 Caviare 阅读(2589) 评论(0) 推荐(0) 编辑
摘要: //引入Excel的COM组件 using System;using System.Data;using System.Configuration;using System.Web;using System.Web.Security;using System.Web.UI;using System.Web.UI.WebControls;using System.Web.UI.WebControls... 阅读全文
posted @ 2007-07-30 17:02 Caviare 阅读(337) 评论(0) 推荐(0) 编辑
摘要: 排序规则的后缀 含义: _BIN 二进制排序 _CI_AI 不区分大小写、不区分重音、不区分假名类型、不区分宽度 _CI_AI_WS 不区分大小写、不区分重音、不区分假名类型、区分宽度 _CI_AI_KS 不区分大小写、不区分重音、区分假名类型、不区分宽度 _CI_AI_KS_WS 不区分大小写、不区分重... 阅读全文
posted @ 2007-07-12 14:25 Caviare 阅读(263) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2007-05-14 16:30 Caviare 阅读(214) 评论(0) 推荐(0) 编辑
摘要: 1. 在提交页面之后,保持滚动条的位置 可以在page指令上加上MaintainScrollPositionOnPostback指令 2. 在页面载入完之后,将焦点移动到某个控件,只需要指定Form的DefaultFocus属性就可以了。 ... 3. 通过DefaultButton属性设置form的默认相应按钮,即在用户敲回车时触发的按钮 ... 4. 可以使用$符号轻松... 阅读全文
posted @ 2007-05-08 16:08 Caviare 阅读(195) 评论(0) 推荐(0) 编辑
摘要: 下载 阅读全文
posted @ 2007-05-08 15:50 Caviare 阅读(566) 评论(0) 推荐(0) 编辑
摘要: TestXML.xml TestXML.xsl MALEboyFEMALEgirlDO NOT... 阅读全文
posted @ 2007-05-08 11:00 Caviare 阅读(221) 评论(0) 推荐(0) 编辑
摘要: 提交 阅读全文
posted @ 2007-04-29 14:11 Caviare 阅读(992) 评论(0) 推荐(0) 编辑
摘要: Demo:http://www.dotlucene.net/documentation/api/index.htmlTechBBS:http://www.seek8.cn/showforum-9.aspxSolution:http://www.cnblogs.com/xuanfeng/archive/2006/11/30/578249.aspx 阅读全文
posted @ 2007-04-29 10:22 Caviare 阅读(160) 评论(0) 推荐(0) 编辑
摘要: http://www.okajax.com/info/codedown/200611246.htmhttp://jquery.com/demo/thickbox/ 阅读全文
posted @ 2007-04-29 10:04 Caviare 阅读(490) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Web;/**//// /// Cookie 的摘要说明/// public class Cookie{ /**//// /// 创建Cookies /// /// Cookie 主键 /// Cookie 键值 /// Cookie 天数 /// Cookie ck = new Cookie(); ... 阅读全文
posted @ 2007-04-28 17:39 Caviare 阅读(314) 评论(0) 推荐(0) 编辑
摘要: JavaScript锁屏 关闭 已经锁屏 .. 锁屏 阅读全文
posted @ 2007-04-28 15:37 Caviare 阅读(1526) 评论(0) 推荐(0) 编辑
摘要: 思路:一.登陸時為每個用戶保存一個唯一ID號,處理頁判斷ID異同。代碼:登陸頁login.aspx.cs: protected void Button1_Click(object sender, EventArgs e) { Session["name"] = TextBox1.Text; if (Cache["userlist"] == null) ... 阅读全文
posted @ 2007-04-27 15:00 Caviare 阅读(249) 评论(0) 推荐(0) 编辑
摘要: SELECT CASE WHEN a.colorder = 1 THEN d.name ELSE '' END AS 表名, a.colorder AS 字段序号, a.name AS 字段名, CASE WHEN COLUMNPROPERTY(a.id, a.name, 'IsIdentity') = 1 THEN '√' ELSE '' END AS 标识, ... 阅读全文
posted @ 2007-04-16 16:33 Caviare 阅读(202) 评论(0) 推荐(0) 编辑
摘要: 1using System; 2using System.Data; 3using System.Configuration; 4using System.Collections; 5using System.Web; 6using System.Web.Security; 7using System.Web.UI; 8using System.Web.UI.WebControls; 9usin... 阅读全文
posted @ 2007-04-06 17:10 Caviare 阅读(381) 评论(0) 推荐(0) 编辑