reading & validating url content
Hi,
I have an option of having a text box where I type a url and a submit button in a aspx page. When I submit the page, on Postback the validity of the url needs to be checked through C# code-behind & not javascript. If the url is valid, then read the contents of the url and display it in a div.
Can any one please provide code for doing this. Any urgent help would be appreciable.
Thanks in advance.
|