Following are few of the things that I used using Sharepoint 2007 (MOSS) object model, so if you want to programmatically create a list, delete items from the list, etc. Deleting all items inside List: SPWeb web = SPContext.Current.Web; SPList myList