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 onlySc…