Fork me on GitHub
摘要: OverviewiTextSharp is a C# port of iText, an open source Java library for PDF generation and manipulation. It can be used to create PDF documents from scratch, to convert XML to PDF (using the extra XML Worker DLL), to fill out interactive PDF forms, to stamp new content on existing PDF documents, t 阅读全文
posted @ 2013-07-29 11:56 Nick.Chung 阅读(390) 评论(0) 推荐(0) 编辑
摘要: Advantage of NPOIa. It's totally free to useb. Cover most features of Excel (cell style, data format, formula and so on)c. Professional support service (even 24*7) from NPOI team (not free)d. Support xls, xlsx, docx.e. Designed to be interface-oriented (take a look at NPOI.SS namespace)f. Suppor 阅读全文
posted @ 2013-07-29 11:53 Nick.Chung 阅读(256) 评论(0) 推荐(0) 编辑
摘要: PHP Framework is built for PHP developers who need elegant toolkit to create full-featured web applications. It aims to speed up the creation and main 阅读全文
posted @ 2013-07-06 22:16 Nick.Chung 阅读(249) 评论(0) 推荐(0) 编辑
摘要: ECShop是一款B2C独立网店系统,适合企业及个人快速构建个性化网上商店。系统是基于PHP语言及MYSQL数据库构架开发的跨平台开源程序。 Ref:http://www.ecshop.com ecshop 重置后台密码 MD5+salt ecshop密码加密方式: MD5 32位+salt,简单来 阅读全文
posted @ 2013-07-06 21:54 Nick.Chung 阅读(456) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;using System.Threading.Tasks;using System.Windows.Forms;using SP = Microsoft.SharePoint.Client;using System.IO;using NPOI.SS.UserModel;using NPOI.HSSF. 阅读全文
posted @ 2013-07-06 21:41 Nick.Chung 阅读(967) 评论(0) 推荐(0) 编辑
摘要: StructureMap is a Dependency Injection / Inversion of Control tool for .Net that can be used to improve the architectural qualities of an object oriented system by reducing the mechanical costs of good design techniques. StructureMap can enable looser coupling between classes and their dependencies, 阅读全文
posted @ 2013-05-15 18:13 Nick.Chung 阅读(202) 评论(0) 推荐(0) 编辑
摘要: 简洁、直观、强悍的前端开发框架,让web开发更迅速、简单。 Ref:http://www.bootcss.com/ Ref:http://getbootstrap.com/ Ref:http://bootply.com/new 阅读全文
posted @ 2013-05-15 16:42 Nick.Chung 阅读(250) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html> <head> <title> New Document </title> <meta name="Generator" content="EditPlus"> <meta name="Author" co 阅读全文
posted @ 2013-01-24 17:31 Nick.Chung 阅读(228) 评论(0) 推荐(0) 编辑
摘要: private static readonly Regex REGEX_LINE_BREAKS = new Regex(@"\n\s*", RegexOptions.Compiled); private static readonly Regex REGEX_LINE_SPACE = new Reg 阅读全文
posted @ 2012-12-11 16:10 Nick.Chung 阅读(146) 评论(0) 推荐(0) 编辑
摘要: Ref:http://www.cnblogs.com/huangxincheng/category/355399.html Ref:http://www.cnblogs.com/fish-li/archive/2011/06/26/2090800.html 阅读全文
posted @ 2012-12-03 11:40 Nick.Chung 阅读(196) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2012-12-03 11:31 Nick.Chung 阅读(193) 评论(0) 推荐(0) 编辑
摘要: Name: crsky Code: 7879E-5BF58-7DR23-DAOB2-7DR30 Exchange Server 2010 Standard Edition XJG6B-4D4YV-4M338-Q42H6-39VT2 6WDDQ-K7D4F-GQGF4-2VYBJ-8K6MB Impo 阅读全文
posted @ 2012-12-03 11:09 Nick.Chung 阅读(286) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Net;using System.Windows;using System.IO;public class HttpClient{ private WebRequest webRequest = null; public delegate void ResponseEventHandler(String responseResult); public event ResponseEventHandler onResponseEventHandler; public delegate void RequestEventH... 阅读全文
posted @ 2012-12-03 10:55 Nick.Chung 阅读(488) 评论(0) 推荐(0) 编辑
摘要: Restore-SPSite http://192.168.1.153 -Path \\192.168.1.153\siteBackup\Site80.bak -Force在SharePoint 2010中移除和添加一个解决方案包。打开 Windows PowerShell窗口:1. 在开始菜单中, 点所有程序。2. 点击Microsoft SharePoint 2010 Products.3. 点击SharePoint 2010 Management Shell注意:你必须具有 配置数据库的SharePoint_Shell_Access角色,并且你应该是SharePoint Server 2 阅读全文
posted @ 2012-11-28 09:33 Nick.Chung 阅读(335) 评论(0) 推荐(0) 编辑
摘要: //注销登录信息 function logOut() { document.execCommand("ClearAuthenticationCache"); window.location.href = "Default.aspx"; } 阅读全文
posted @ 2012-11-23 17:06 Nick.Chung 阅读(333) 评论(0) 推荐(0) 编辑
摘要: Reference:C5.dll,Common.Logging.dll,Quartz.dllGlobal.asax.csusing System;using System.Collections.Generic;using System.Linq;using System.Web;using System.Web.Security;using System.Web.SessionState;namespace SGSGHome.Web{ public class Global : System.Web.HttpApplication { protected void ... 阅读全文
posted @ 2012-11-23 17:02 Nick.Chung 阅读(351) 评论(0) 推荐(0) 编辑
摘要: Reference webservicehttp://ip:port/ReportServer/ReportExecution2005.asmxproxy class//=================================================================... 阅读全文
posted @ 2012-11-23 16:49 Nick.Chung 阅读(321) 评论(0) 推荐(0) 编辑
摘要: SQLHelper.cs//===============================================================================// Microsoft Data Access Application Block for .NET// http://msdn.microsoft.com/library/en-us/dnbda/html/daab-rm.asp//// SQLHelper.cs//// This file contains the implementations of the SqlHelper and SqlHelper 阅读全文
posted @ 2012-11-23 16:39 Nick.Chung 阅读(380) 评论(0) 推荐(0) 编辑
摘要: FileDetail.xaml<controls:ChildWindow x:Class="SGSGHome.Views.File.FileDetail" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:controls="clr-namespace:System.Windows.Controls;assembly= 阅读全文
posted @ 2012-11-23 16:09 Nick.Chung 阅读(533) 评论(0) 推荐(0) 编辑
摘要: TicksToTimeSpanConverter.csusing System;using System.Net;using System.Windows;using System.Windows.Controls;using System.Windows.Documents;using System.Windows.Ink;using System.Windows.Input;using System.Windows.Media;using System.Windows.Media.Animation;using System.Windows.Shapes;using System.Wind 阅读全文
posted @ 2012-11-23 15:56 Nick.Chung 阅读(754) 评论(0) 推荐(0) 编辑
摘要: DoubleClickHelper.csusing System;using System.Net;using System.Windows;using System.Windows.Controls;using System.Windows.Documents;using System.Windows.Ink;using System.Windows.Input;using System.Windows.Media;using System.Windows.Media.Animation;using System.Windows.Shapes;using System.Windows.Thr 阅读全文
posted @ 2012-11-23 15:51 Nick.Chung 阅读(249) 评论(0) 推荐(0) 编辑
摘要: <telerik:RadTreeListView Margin="3" Name="tv" Grid.Row="2" telerik:StyleManager.Theme="Office_Silver" AutoGenerateColumns="False" IsFilteringAllowed="False" HierarchyColumnIndex="1" RowIndicatorVisib... 阅读全文
posted @ 2012-11-23 15:37 Nick.Chung 阅读(1833) 评论(0) 推荐(0) 编辑
摘要: var emptyObject1 = {}; //创建空对象var emptyObject2 = new Object(); //创建空对象var person = {"name":"sdcyst", "age":18, "sex":"male"}; //创建一个包含初始值的对象personalert(person.name); //sdcystalert(person["age"]); //18var person = {};person.name = "sdcy 阅读全文
posted @ 2012-11-23 15:05 Nick.Chung 阅读(182) 评论(0) 推荐(0) 编辑
摘要: function progress() { var value = $('#p').progressbar('getValue'); if (value < 100) { value += Math.floor(Math.random() * 10); $('#p').progressbar('setValue', value); var invoker = arguments.callee.caller || null; if (invoker != null) { ... 阅读全文
posted @ 2012-11-23 14:44 Nick.Chung 阅读(209) 评论(0) 推荐(0) 编辑
摘要: #region AES加密 /// <summary> /// 加密数据 /// </summary> /// <param name="input">加密前的字符串</param> /// <returns>加密后的字符串</returns> public static string AESEncrypt(string input) { //盐值 string saltValue = "saltValue"; //... 阅读全文
posted @ 2012-11-12 17:12 Nick.Chung 阅读(780) 评论(0) 推荐(0) 编辑
摘要: using Telerik.Windows.Zip; /// <summary> /// 利用telerik的zip库压缩字符串 /// </summary> /// <param name="str"></param> /// <returns></returns> public static string CompressString(string str) { string result = string.Empty; try ... 阅读全文
posted @ 2012-11-12 17:08 Nick.Chung 阅读(179) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Net;using System.Windows;using System.Windows.Controls;using System.Windows.Documents;using System.Windows.Ink;using System.Windows.Input;using System.Windows.Media;using System.Windows.Media.Animation;using System.Windows.Shapes;using Telerik.Windows.Controls;namespace SGS 阅读全文
posted @ 2012-11-12 17:03 Nick.Chung 阅读(283) 评论(0) 推荐(0) 编辑
摘要: <%@ WebHandler Language="C#" Class="AttachmentHandler" %>using System;using System.Collections.Generic;using System.Web;using System.Data.SqlClient;using System.Configuration;public class AttachmentHandler : IHttpHandler{ public void ProcessRequest(HttpContext context) { st 阅读全文
posted @ 2012-11-12 16:57 Nick.Chung 阅读(190) 评论(0) 推荐(0) 编辑
摘要: System.Data.Objects.EntityFunctions.DiffDays(); // // 摘要: // 调用 DiffDays 规范函数。有关 DiffDays 规范函数的信息,请参见Date and Time Canonical Functions // (Entity SQL)。 // // 参数: // dateValue1: // 有效日期。 // // dateValue2: // ... 阅读全文
posted @ 2012-11-12 16:50 Nick.Chung 阅读(542) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Linq;using System.Linq.Expressions;using System.Collections.Generic; public static class PredicateBuilder { public static Expression<Func<T, bool>> True<T>() { return f => true; } public static Expression<Func<T, bool>> False<T>() { re 阅读全文
posted @ 2012-11-12 16:45 Nick.Chung 阅读(487) 评论(0) 推荐(0) 编辑
摘要: 书签-BookmarkView Code using System;using System.Activities;namespace DataService{ public sealed class WaitForInput<T> : NativeActivity<T> { public WaitForInput() : base() { } public string BookmarkName { get; set; } public OutArgument<T> Input { get... 阅读全文
posted @ 2012-11-12 16:31 Nick.Chung 阅读(365) 评论(0) 推荐(0) 编辑
摘要: WCF配置文件-Web.config<?xml version="1.0" encoding="utf-8"?><configuration> <appSettings> <add key="db" value="Data Source=192.168.1.170;Initial Catalog=WSSExtend;User ID=sa;Password=123456" /> </appSettings> <system.web> <co 阅读全文
posted @ 2012-11-12 16:09 Nick.Chung 阅读(267) 评论(0) 推荐(0) 编辑
摘要: App.xaml public partial class App : Application { public App() { bool registerResult = WebRequest.RegisterPrefix( "WCF Address", System.Net.Browser.WebRequestCreator.ClientHttp); } }Async Completed Methodusing System.ServiceModel; if... 阅读全文
posted @ 2012-11-12 15:44 Nick.Chung 阅读(218) 评论(0) 推荐(0) 编辑
摘要: Python is a programming language that lets you work more quickly and integrate your systems more effectively. Python is powerful... and fast; plays we 阅读全文
posted @ 2012-11-09 17:54 Nick.Chung 阅读(366) 评论(0) 推荐(0) 编辑
摘要: Ref:http://android.yaohuiji.com/aboutRef:http://www.eoeandroid.com/Ref:http://wear.techbrood.com/Ref:http://developer.android.com/guide/index.html 阅读全文
posted @ 2012-11-09 17:38 Nick.Chung 阅读(149) 评论(0) 推荐(0) 编辑
摘要: DB[Photo] [varbinary](max)ImageConvert.csusing System;using System.Net;using System.Windows;using System.Windows.Controls;using System.Windows.Documents;using System.Windows.Ink;using System.Windows.Input;using System.Windows.Media;using System.Windows.Media.Animation;using System.Windows.Shapes;usi 阅读全文
posted @ 2012-11-09 17:16 Nick.Chung 阅读(523) 评论(0) 推荐(0) 编辑
摘要: 新的开始,分享和记录开发的点滴... 阅读全文
posted @ 2012-11-09 14:55 Nick.Chung 阅读(124) 评论(0) 推荐(0) 编辑