摘要: CREATE PROCEDURE GeneralPagination /* **************************************************************************************************** *** 用于SqlServer2005(及以上)的高效分页存储过程(支持多字段任意排序,不要求排序字段唯一) ******************************************************************************************************* */ 阅读全文
posted @ 2011-07-06 23:29 焚情、烈日 阅读(616) 评论(0) 推荐(0) 编辑
摘要: create procedure [dbo].[Get_Twzzl] (@startIndex int,@endIndex int,@docount bit,@w_jgid char(50),@lbbh char(50),@w_wzbm char(50),@w_wzmc char(50),@w_ggxh char(50))asset nocount onset @lbbh=ltrim(rtrim(@lbbh))set @w_wzbm=ltrim(rtrim(@w_wzbm))set @w_wzmc=ltrim(rtrim(@w_wzmc))set @w_ggxh=ltrim(rtrim(@w_ 阅读全文
posted @ 2011-07-06 23:24 焚情、烈日 阅读(314) 评论(0) 推荐(0) 编辑
摘要: System.Diagnostics.Process.Start("D:\\");function 打开路径_onclick() {window.open("\\\\10.71.210.239\\ShareR");} 阅读全文
posted @ 2011-05-25 22:17 焚情、烈日 阅读(262) 评论(0) 推荐(0) 编辑
摘要: .首先我说下,我在网上找过1、web.config 2、IIS 中启用Windows集成认证,关闭匿名访问 3、通过User.Identity.Name进行读取,读出登录帐号 如何在 Windows Server 2003 中配置 IIS 网站身份验证1. 启动“IIS 管理器”或者打开 IIS 管理单元。2. 展开 Server_name,其中 Server_name 是服务器的名称,然后展开网站。3. 在控制台树中,右键单击您要配置身份验证的网站、虚拟目录或文件,然后单击属性。4. 单击目录安全性或文件安全性选项卡(根据需要),然后在“匿名和访问控制”下单击编辑。5. 单击以选中您要使用的 阅读全文
posted @ 2011-05-25 20:27 焚情、烈日 阅读(1568) 评论(0) 推荐(0) 编辑
摘要: 1.在IIS中将访问方式更改为不允许匿名访问2.在Web.config中将验证方式更改为 <identity impersonate="true"/> <authentication mode="Windows" />3.在源代码中使用 string username= Security.Principal.WindowsIdentity.GetCurrent().Namestring[] info = username.Split(new char[1] { '\\' }, StringSplitOptions. 阅读全文
posted @ 2011-05-25 01:03 焚情、烈日 阅读(487) 评论(0) 推荐(0) 编辑
摘要: public static class DomainInformation { #region Constants //static string[] usersLdapPath = @"LDAP://zzzzzz.com/OU=xxxxxx,DC=yyyyyy,DC=com"; static string usersLdapPath = System.Configuration.ConfigurationManager.AppSettings["LDAPConnectionString"].ToString() ; const string adLog 阅读全文
posted @ 2011-05-25 01:00 焚情、烈日 阅读(676) 评论(0) 推荐(0) 编辑
摘要: View Code using System;using System.Text;using System.Collections;using System.Collections.Generic;using System.Text.RegularExpressions;using System.IO;using System.Web.UI;using System.Globalization;using System.Web.UI.WebControls;using System.Web.UI.HtmlControls;namespace Demo{ public interface IPa 阅读全文
posted @ 2011-05-19 21:59 焚情、烈日 阅读(217) 评论(0) 推荐(0) 编辑
摘要: 表面活性剂系列螯合剂系列增粘乳液系列造纸化学品系列印刷化学品系列代理产品功能性表面活性剂阳离子表面活性剂非离子表面活性剂阴离子表面活性剂两性表面活性剂DXP-1020胶粘剂专用消泡剂DXP-007消泡剂DXP-007消泡剂DXP-007消泡剂施胶剂 氧漂稳定剂系列蒸煮助剂脱墨剂消泡剂施胶剂 螯合剂 乳化剂施胶剂脱墨剂显白剂消泡剂 蒸煮助剂施胶剂 氧漂稳定剂系列蒸煮助剂脱墨剂消泡剂施胶剂 氧漂稳定剂系列罗迪亚造纸脱墨剂 DTPA二乙烯三胺五乙酸 二乙烯三胺五乙酸五钠DTPA-Na5 乙二胺四乙酸EDTA 乙二胺四乙酸四钠EDTA-Na4 乙二胺四乙酸二钠盐 氧漂稳定剂系列施胶剂 氧漂稳定剂系列蒸 阅读全文
posted @ 2011-05-19 20:58 焚情、烈日 阅读(166) 评论(0) 推荐(0) 编辑
摘要: View Code using System; using System.Data; using System.Configuration; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Web.UI.HtmlControls; /**//// <summary> /// Cls_Upfile 的摘要说明 /// </summary> /// namespace A 阅读全文
posted @ 2011-05-16 19:54 焚情、烈日 阅读(311) 评论(0) 推荐(0) 编辑
摘要: View Code /// <summary> /// 根据excel的文件的路径提取其中表的数据 /// </summary> /// <param name="Path">Excel文件的路径</param> private void GetDataFromExcelWithAppointSheetName(string Path) { //连接串 string strConn = "Provider=Microsoft.Jet.OLEDB.4.0;" + "Data Source=" 阅读全文
posted @ 2011-05-16 19:37 焚情、烈日 阅读(293) 评论(0) 推荐(0) 编辑