×

SPList Format and Display Web Part

In this project I will develop a web part which can be used as a display formatter for any SPList with any columns. In other words what I want to do is to be able to take an ordinary list from SharePoint and display that list using my own html…

Quick Hello World Web Part

This is a quick hello world web part. I am assuming your visual studio is already setup on your SharePoint server. Please see this post if you need help with setting up your environment.  Launch Visual Studio 2008. Select File –> New –> Project. Select C# under Project Type. Select…

How to deploy a custom web part?

My web part projects are normally of simple c# class type and if you follow any of my web part examples, you will end up with a project dll. You will use this dll to deploy your web part. In this post I will go over how to deploy a…

SharePoint Web Part Environment setup

If you read any of my SharePoint tutorials, you will need the following setup. Windows Server 2003 with Service Pack 1 IIS SQL Server (2005 or greater) with Service Pack 2 Visual Studio 2008 Windows SharePoint Services 3.0 with Service Pack 1 (download link) WSS 3.0 Tools for Visual Studio…

Web Part to Display Data from SPList (Birthday list)

In the previous post, I discussed how to insert data into a SharePoint list. In this web part we will display the data from that SharePoint list. Open your BirthDaySystem project. Add new class and name it “DisplayBirthdays” Replace the existing code from DisplayBirthdays with the following: using System; using…