简体   繁体   中英

Credentials for Webservices

I wanted to write credential for web services (I am using-VS 2008,Asp.Net Framework 3.5,Windows 2003 Standard Edition,SQL Server) like this

      private Credentials credentials;

But i am getting error to this line that the type or namespace name 'Credentials' could not be found (are you missing a using directive or an assembly reference?)

I have used

      using ExtentrixWS;

Still i am getting ' are you missing a using directive or an assembly reference? ' Regards,

You should not only add the "using ExtentrixWS" but also you should add the relavent dll to the references of the project . Then only the services of ExtentrixWS will be referrenced to your project.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM