11 2012 档案
摘要: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
阅读全文
摘要://注销登录信息 function logOut() { document.execCommand("ClearAuthenticationCache"); window.location.href = "Default.aspx"; }
阅读全文
摘要: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 ...
阅读全文
摘要:Reference webservicehttp://ip:port/ReportServer/ReportExecution2005.asmxproxy class//=================================================================...
阅读全文
摘要: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
阅读全文
摘要: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=
阅读全文
摘要: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
阅读全文
摘要: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
阅读全文
摘要:<telerik:RadTreeListView Margin="3" Name="tv" Grid.Row="2" telerik:StyleManager.Theme="Office_Silver" AutoGenerateColumns="False" IsFilteringAllowed="False" HierarchyColumnIndex="1" RowIndicatorVisib...
阅读全文
摘要: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
阅读全文
摘要: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) { ...
阅读全文
摘要:#region AES加密 /// <summary> /// 加密数据 /// </summary> /// <param name="input">加密前的字符串</param> /// <returns>加密后的字符串</returns> public static string AESEncrypt(string input) { //盐值 string saltValue = "saltValue"; //...
阅读全文
摘要: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 ...
阅读全文
摘要: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
阅读全文
摘要:<%@ 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
阅读全文
摘要:System.Data.Objects.EntityFunctions.DiffDays(); // // 摘要: // 调用 DiffDays 规范函数。有关 DiffDays 规范函数的信息,请参见Date and Time Canonical Functions // (Entity SQL)。 // // 参数: // dateValue1: // 有效日期。 // // dateValue2: // ...
阅读全文
摘要: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
阅读全文
摘要:书签-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...
阅读全文
摘要: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
阅读全文
摘要: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...
阅读全文
摘要:Python is a programming language that lets you work more quickly and integrate your systems more effectively. Python is powerful... and fast; plays we
阅读全文
摘要:Ref:http://android.yaohuiji.com/aboutRef:http://www.eoeandroid.com/Ref:http://wear.techbrood.com/Ref:http://developer.android.com/guide/index.html
阅读全文
摘要: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
阅读全文
摘要:新的开始,分享和记录开发的点滴...
阅读全文