ObjectDataSource/GridView & Web Service with AuthenticationI am testing Asp. Net 2.0 's the new controls of ObjectDataSource and GridView bound with a web service.//defintion..Part I ListsService.Lists listsS;// ListsService is a List Web Service provide intranet Sharepoint site System.Xml.XmlNode xmlNode; GridView gView; ObjectDataSource oDS; XmlDataSource xmlDS;//page_load..Part II listsS = new ListsService.Lists(); listsS.Url = "http://intranet/_vti_bin/Lists.asmx"; listsS.Credentials = System.Net.CredentialCache.DefaultCredentials;//this passes the credential to list servcie xmlNode = GetRecordsByMonth(System.DateTime.Today); xmlDS = new XmlDataSource(); xmlDS.Data = xmlNode.OuterXml; xmlDS.ID = "xmlDS"; this.form1.Controls.Add(xmlDS);.....//create a object data source control ...Part III oDS = new ObjectDataSource(); oDS.TypeName = "ListsService.Lists"; oDS.SelectMethod = "GetList"; oDS.ID = "oDSID"; Parameter pm = new Parameter(); pm.Type = TypeCode.String; pm.Name = "listName"; pm.DefaultValue = "Events"; //pm.Direction = ParameterDirection.ReturnValue; oDS.SelectParameters.Add(pm); this.form1.Controls.Add(oDS);//create a grid view..Part IV gView = new GridView(); gView.DataSourceID = oDS.ID; this.form1.Controls.Add(gView);U c, in Part II, which is a traditional coing style, there I can pass the credential parameters via the Credential property but in part III and IV, i do not have a chance to set the authentication. there is no such a property to store the parameters. SO finnaly I got an error when running codes of Part III and IV:The request failed with HTTP status 401: UnauthorizedIt looks to me the read access did not get the authentication of the web service.