using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Reflection;using System.ComponentModel;namespace AttributeTest{ public class Program { static void Main(string[] args) {
1. Add contenttype to the list########################################################################## $siteUrl : The storeportal site. http://loacalhost ## $listName : The name
You receive a "The process cannot access the file because it is being used by another process" error message when you try to start a Web site in the Internet Information Services MMC snap-in SYMPTOMSWhen you right-click a Web site in the Microsoft
The scenario is we usually print some message in the sql PROCEDURE to help us debug the PROCEDURE, but some time once we delopy the database we still want to trace the print message from the sql PROCEDURE to help us debug some bugs. This article
Use the AllUsers property of theSPWeb class to return all the users of a site. This includes users granted permissions directly, users granted permissions through a group who have then visited the site, and users who have been referenced in a person
Here is capture:1. we could resolve it via js code. here is code:a. This is execute code in document ready function: var totalNumber = this.guidListItems.get_count(); $(".ms-paging").append(" of " + totalNumber + " "); b. This is function
1. Create list by custom list template #*************************************************************************************************************** # Create a list by the custom list template # $spSiteUrl: The site url
1. Here is the code: Add WebPart in Publish SiteExample : AddWebPartPublish http://localhost "/Pages/Publish.aspx" "Shared Documents" "Header" "0"############################################################################ $siteUrl : The site url -
The CAML Query: tasks assigned to user or to current user groups<Where> <And> <Or> <Membership Type=’CurrentUserGroups’> <FieldRef Name=’AssignedTo’ /> </Membership> <Eq> <FieldRef Name=’AssignedTo’