Retreiving daim ntawv teev cov ntsiab lus los ntawm WebService nyob SharePoint 2003

Ntxiv ntawm webreference rau cov Lists.asmx hauv sharepoint qhov chaw.

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

sau rau hauv qab no kev nyob hauv koj lub webservice.

lwm cov ntaub ntawv.DataTable GetDataTableFromWSS(bool onlySchema) { kaj WssSiteUrl = http://192.168.111.21; kaj WssSiteUrl = ConfigurationSettings.AppSettings[“WssSiteUrl”]; WssSite.Lists npe = WssSite.Lists tshiab(); teev.Url = WssSiteUrl + “_vti_bin/Lists.asmx”; teev.Peev xwm = System.Net.CredentialCache.DefaultCredentials;

teev.PreAuthenticate = tseeb; //koj yuav tsum xeem dhau daim […]