摘要:
1. Algrithom◾Given an array of values, pick a value as a pivot value◾Check each value against the pivot value and - bring each value higher than the p... 阅读全文
摘要:
背景:之前项目使用的是DB first/Model first,现在要对EF升级的6.0,并且更换成Code first。问题:1. System.Data.Entity.Core.MetadataException: Unable to load the specified metadata resource.2. 更改metadata值;System.ArgumentException: Argument 'xmlReader' is not valid. A minimum of one .ssdl artifact must be supplied.3. 删除metad 阅读全文
摘要:
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;namespace Test.Other{ public class TestDelegateAndEvent { public delegate void TestDelegate(); public event TestDelegate TestEventHandler; public void Test() ... 阅读全文
摘要:
IIS Media Service 对Channel的Schema可以在浏览器中输入http://{0}:{1}/services/smoothstreaming/publishingpoints.isml/settings 看到。 Publishing Point Collection 2014-03-20T17:38:09.529Z http://{0}:{1}/services/smoothstreaming/publishingpoints.isml/settings Test 2014-03-19T19:06:55Z ... 阅读全文
摘要:
I figured out a great little trick for sorting a DVWP-based display based on a column name passed in the Query String. You can see this in action in the default All Items or All Documents views in lists or libraries. When you click on the column headers that allow sorting, the browser is sent to th. 阅读全文
摘要:
1. when updating field which lookups from Content Types, (for example: set Required to Yes), it needs update Content Types first. please read this article: http://www.novolocus.com/2010/10/28/programmatically-making-a-field-required-in-sharepoint-2007/2. Configuration: A. Set"Allow management o 阅读全文