摘要:
public static class EncryptConnection { public static void EncryptConnectionString(bool encrypt) { Configuration configFile = null; try { // Open the configuration file and retrieve the connectionStrings section. configF... 阅读全文
摘要:
using System;using System.Collections.Generic;using System.Text;using System.IO;using System.Security.Cryptography;namespace CMD.EDI{ public class EncryptHandler { /// <summary> /// 加密字符串 /// </summary> public static string Encrypt(string password, string cleartext)... 阅读全文
摘要:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xml 阅读全文
摘要:
/********************************************************** * CJF Development Library for Microsoft.NET * Note:DES加密解密字符串 * Create Date:2011-11-15 * Author:郁如意 * Copyright (c) 2012,2015 Cjf Studio.China * All Rigths Reserved!**********************************************************/using System;usi 阅读全文
摘要:
/// <summary> /// 将DataTable中的数据导出到Excel(支持Excel2003和Excel2007) /// </summary> /// <param name="dt"> DataTable</param> /// <param name="url">Excel保存的路径DataTable</param> /// <returns>导出成功返回True,否则返回false</ returns >Public bool Export 阅读全文