Retrieving web content

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I need to retrieve/modify the content of a file located on a webserver. Also is there a way to retrieve data from a remote database with C#?
 
metabahn said:
I need to retrieve/modify the content of a file located on a webserver.
for retrieving files from server take a look at System.Web namespace it
contains all neccessary classes to solve your task.
Also is there a way to retrieve data from a remote database with C#?
yes it is.
 
Isn't the System.Web namespace part of ASP? Sorry, I'm new to this .NET stuff so I'm a little lost with some things.
 
metabahn said:
Isn't the System.Web namespace part of ASP? Sorry, I'm new to this .NET stuff so I'm a little lost with some things.

No, it's part of the .NET Base Class Library. The types in the
System.Web namespace are not limited to just ASP.NET apps.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top