Hi friends,
I need to do new thing like compare URL ex: www.cricinfo.com periodical changes in this web page i need to catch. every 5 min or half hour or one hour once.
but if one hour means i need to get each and every changes happen between this hour.
Thanks in advance
Vinoth
Loading

Abhimanyu K VatsaPosted May 12, 2011, 1:47 AM
C# Code
protected void Page_Load(object sender, System.EventArgs e) { string url = Request.Url.AbsoluteUri; string url1 = "http://localhost:2061/WebSite1/Default.aspx"; int MyInt = url.CompareTo(url1); //return 0 (true) or -1 (false) if ((MyInt == 0)) { Label1.Text = "Same url"; } else { Label1.Text = "not same url"; } }VB Code
Sam HobbsPosted May 11, 2011, 8:39 PM
Mahesh ChandPosted May 11, 2011, 5:21 PM
http://www.c-sharpcorner.com/Forums/Thread/122134/C-Sharp-webclient.aspx