SharePoint Tips Archives - Page 4 of 4 - All Things DotNetAll Things DotNet
  • Subscribe to this RSS feed
  • Receive updates as soon as they are posted.

SharePoint Tips Category

One of the great string methods that was introduced in dotNet 2.0 is ‘IsNullOrEmpty’

If you are running SharePoint, (even if you’re administrator on the box), and you get an ‘Access Denied’ message when you run the ‘STSADM’ console application, try changing the Command Prompt so that it runs as Administrator.

In order to get a reference to a particular list in Sharepoint, here’s the code to do so (let’s assume your the list name is ‘Customers’): SPList MyList = SPContext.Current.Web.Lists[“Customers”];

August 12 , 2010 | | In: SharePoint, SharePoint Tips

Iterate Through List Collection

Here’s the code needed (C#) to iterate through the lists collection in a web application, and display them on a page, using a literal control for each one.

All Things DotNet Discussed – Winforms/ASP.Net/SharePoint/WPF

If you find this site helpful,
please donate to help keep it online and free

Code 'n' Sprox   DreamTemplate - Web Templates

Follow us on Twitter

Follow AllThingsDotNet on Twitter

Test - The Name: 6936