Retrieving Data from a web into some Programming is complex task specially when interfacing a Real time Data into Application. This application is design to Get the Data from a Web Application into C# without any Reference or third party library
3. Introduction
This Article describes the concept of Receiving a Data from a Web into C#.Net. Many Websites contain Data
that is being updated on Real time basis for example (Stock Exchange, Weather Forecasting, Flight
Reservations, Hotel Reservations, Cinema Ticket Booking, Different Countries Time Zone).
Many Programmers somehow requires that data to be integrated with their application.
Example:
We are considering a Time Zone from http://www.worldtimeserver.com
Task is to retrieve the Current Date of Pakistan .
Requirement
2 Labels and 1 Button, 1 Web Browser is Required
4. Here
If we do a quick look in the source code of the original website it looks
string className = "font6";
string globalPattern;
globalPattern = String.Format("<span [^>]*class=("|')font6("|')>(.*?)</span>",className);
using "font6" as a span class. we can further enhance this code by calling Font7 which is the time class in the
source code.