摘要: Asp.net中操作Excel的权限解决方法:1、使用模拟帐户,在Web.config文件中加入2、在DCOM组件服务中给MICROSOFT.EXCEL组件 赋予ASP.NET的操作权限,具体步骤:(1)打开开始菜单的运行对话框,输入dcomcnfg命令,确定,这时会弹出组件服务窗口(2)展开计算机... 阅读全文
posted @ 2006-04-21 11:05 半克拉鹅卵石 阅读(299) 评论(0) 推荐(0)
摘要: usingSystem;usingSystem.Data;usingSystem.Collections;usingSystem.ComponentModel;usingSystem.Web;usingSystem.Web.SessionState;usingSystem.Web.UI;usingS... 阅读全文
posted @ 2006-04-18 09:22 半克拉鹅卵石 阅读(197) 评论(0) 推荐(0)
摘要: 对数据库的几种基本操作 usingSystem;usingSystem.Data;usingSystem.Data.SqlClient;usingMicrosoft.Win32;usingSystem.Reflection;usingSystem.IO;usingSystem.Web;usingSy... 阅读全文
posted @ 2006-04-17 16:08 半克拉鹅卵石 阅读(365) 评论(0) 推荐(0)
摘要: 输入中文大写数字(从一到九十九),返回阿拉伯数字 /**///////输入中文大写数字(从一到九十九),返回阿拉伯数字//////中文大写数字(从一到九十九)///publicintChineseNumberToArabicNumber(stringChineseNumber){if(!System... 阅读全文
posted @ 2006-04-17 16:05 半克拉鹅卵石 阅读(1833) 评论(0) 推荐(0)
摘要: usingSystem;usingSystem.IO;usingSystem.Diagnostics;usingSystem.Collections;usingSystem.ComponentModel;usingSystem.Data;usingSystem.Drawing;usingSystem... 阅读全文
posted @ 2006-04-15 09:14 半克拉鹅卵石 阅读(422) 评论(0) 推荐(0)
摘要: http://www.connectionstrings.com/ 阅读全文
posted @ 2006-04-13 14:24 半克拉鹅卵石 阅读(129) 评论(0) 推荐(0)
摘要: 水晶报表中对年龄进行分组的公式字段 select {Birthday.Age}case upto 20:"20岁以下"case upto 30:"21-30岁"case upto 40:"31-40岁"case upto 50:"41-50岁"case upto 60:"51-60岁"default:"61岁以上" 阅读全文
posted @ 2006-04-13 09:25 半克拉鹅卵石 阅读(398) 评论(0) 推荐(0)
摘要: using System;using System.Data;using System.Collections;using System.ComponentModel;using System.Web;using System.Web.SessionState;using System.Web.UI;using System.Web.UI.WebControls;namespace IMS.Cla... 阅读全文
posted @ 2006-04-08 14:09 半克拉鹅卵石 阅读(210) 评论(0) 推荐(0)