473,396 Members | 1,738 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Accessing a webpage from C#

Is it possible to access a web page from within a c# application? If so,
what would the code be like to do that?

Thank you,
Adrian.
Jan 24 '08 #1
2 1288
On Jan 24, 10:40 am, Zach <x...@xx.xxwrote:
Is it possible to access a web page from within a c# application? If so,
what would the code be like to do that?
Have a look at the WebClient and WebRequest types.

Jon
Jan 24 '08 #2
Jon Skeet [C# MVP] wrote:
On Jan 24, 10:40 am, Zach <x...@xx.xxwrote:
>Is it possible to access a web page from within a c# application? If so,
what would the code be like to do that?

Have a look at the WebClient and WebRequest types.

Jon
That is very interesting and useful.
WebRequest will allow storing parameters
that change in time.
Thank you,
Adrian.
Jan 24 '08 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Vivek Sharma | last post by:
Hi, I have created a dropdownlist as a web user control. I am using its multiple instances on the webpage. How do I access the selectedValue of each instance? All the instances have different...
1
by: nick | last post by:
I'm wondering if it's possible to access and use windows file icons in a webpage using, for example, the shell method SHGetFileInfo. I'm writing a small asp.net app to browse directories on a...
0
by: Netsharp Ninja | last post by:
Hello All, I am trying to develop a windows control to use in ASP.NET page. I have seen the samples given by .NET Framework and trying to repeat the same with my own pages. I succeded half way...
0
by: Netsharp Ninja | last post by:
Hello All, I am trying to develop a windows control to use in ASP.NET page. I have seen the samples given by .NET Framework and trying to repeat the same with my own pages. I succeded half way...
5
by: Daniel Corbett | last post by:
I am trying to save a file dynamically created in a webpage. I get the following headers, but cannot figure out how to save the attachment. I am basically trying to replicate what internet...
1
by: Chris | last post by:
Hi, I have no problem creating DLL projects inside my solution that contain my business logic that is used by my web forms project. I added a .cs file to my web project and wanted to add some...
0
by: YAH | last post by:
I don't know where to post this so I'll try here. I'm trying to create a C# based Windows Form app which hosts a webbrowser control, loads a webpage of mine, and after DocumentComplete extracts...
2
by: Jeff | last post by:
Hey asp.net 2.0 I have a Repeater control consisting of linkbuttons on my webpage. when a linkbutton is clicked I need to get the info about the linkbutton clicked and put that info in a...
4
by: Joey | last post by:
asp.net 2/C#/VS2005 I have a web app where I use a stream writer to create a CSV (text) file. I then use my code to save the file in the site's 'App_Data' folder, in a subfolder called 'Temp'....
5
JDMM
by: JDMM | last post by:
How do i access an asp page from LAN? I have installed IIS 5.1 on one of my nekwork pc named ABC (say). Then i have included the folder (named "aspeg") which contains the asp webpages inside the...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.