Programmatically Read List & View Content in SharePoint

I got a task to work on developing the windows application which will fetch the List View data from sharepoint and process the data in win forms app.

Previously i used to fetch the data using Lists.asmx,views.asmx.

Now i came to know there is other way to fetch the data from List View.

Syntax: https://myserver.com/_vti_bin/owssvr.dll?Cmd=Display&List={list […]

Programmatically Update List Content in SharePoint

Hi Devs,

The Below is the Sample Code to update the Sharepoint list content programmatically by using SharePoint Object Model.

SPSite Site = new SPSite(“http://localhost:21000”); SPWeb Web = Site.OpenWeb(); SPList List = Web.Lists[“Address Book”]; SPListItem ListItem = List.GetItemById(0);

string FullName = string.Empty;

FullName = ListItem[“FirstName”].ToString() + ListItem[“LastName”].ToString(); SPListItem[“FullName”] = FullName; ListItem.Update();

Configuring SQL Reporting Services 2005 with Windows SharePoint Services 2003

I wrote the article for Configuring SQL Reporting Services 2005 with Windows SharePoint Services 2003.

This article explains how to integrate SQL Reporting Services with Windows SharePoint Services 2.0. The PreBuild Microsoft’s Reporting Services WebPart is used to be configured to display SQL Reports which is to be fetch data from SQL Reporting […]

Backup and Restore Site in SharePoint 2003

Backup & Restore for SharePoint 2003 / Windows SharePoint Services 2.0 can be done using the following two tools.

stsadm.exe smigrate.exe

I have posted in my sharepoint blog with synatx & example.

Check Out:

Backup and Restore Site in SharePoint 2003

Retreiving List Content through WebService in SharePoint 2003

Add the webreference to the Lists.asmx in sharepoint site.

http://localhost/_vti_bin/Lists.asmx (SharePoint virtual Directory URL/_vti_bin/Lists.asmx

write the following methods in your webservice.

private data.DataTable GetDataTableFromWSS(bool onlySchema) { string WssSiteUrl = http://192.168.111.21; string WssSiteUrl = ConfigurationSettings.AppSettings[“WssSiteUrl”]; WssSite.Lists lists = new WssSite.Lists(); lists.Url = WssSiteUrl + “_vti_bin/Lists.asmx”; lists.Credentials = System.Net.CredentialCache.DefaultCredentials;

lists.PreAuthenticate = true; //you have to pass the […]