DataSet ds = new DataSet(); theGeoData.AuthenticationHeader auth = new theGeoData.AuthenticationHeader(); theGeoData.GetData theAd = new theGeoData.GetData(); auth.username = "user"; auth.password = "pass"; theAdds.AuthenticationHeaderValue = auth; ds = theAdds.GetIt();