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”];
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