Click here to Skip to main content
15,891,204 members
Home / Discussions / ASP.NET
   

ASP.NET

 
Questionwhat is urlrewriting in asp.net Pin
Rinki Mukheraji10-Jun-08 6:57
Rinki Mukheraji10-Jun-08 6:57 
AnswerRe: what is urlrewriting in asp.net Pin
Christian Graus10-Jun-08 7:02
protectorChristian Graus10-Jun-08 7:02 
QuestionSelecting a gridview row and keeping the last selected row in a gridview highlighted after mouse moves over a new row. Pin
Steve Holdorf10-Jun-08 4:31
Steve Holdorf10-Jun-08 4:31 
AnswerRe: Selecting a gridview row and keeping the last selected row in a gridview highlighted after mouse moves over a new row. Pin
Steve Holdorf10-Jun-08 4:46
Steve Holdorf10-Jun-08 4:46 
GeneralRe: Selecting a gridview row and keeping the last selected row in a gridview highlighted after mouse moves over a new row. [modified] Pin
Parwej Ahamad10-Jun-08 6:02
professionalParwej Ahamad10-Jun-08 6:02 
GeneralRe: Selecting a gridview row and keeping the last selected row in a gridview highlighted after mouse moves over a new row. Pin
Steve Holdorf10-Jun-08 6:45
Steve Holdorf10-Jun-08 6:45 
GeneralRe: Selecting a gridview row and keeping the last selected row in a gridview highlighted after mouse moves over a new row. Pin
Parwej Ahamad10-Jun-08 17:13
professionalParwej Ahamad10-Jun-08 17:13 
Questionhii please if anyone can help me would be great!!! Pin
Technobizz10-Jun-08 4:08
Technobizz10-Jun-08 4:08 
I'm trying to fetch all the url given on a webpage from a website and
tried with webclient, webrequest also i'm a beginner so facing problems in writing the exact code.

i just want to get a list of all url from a webpage

also i tried this code but error is there...

code is:
using c#
string strURL = textBox1.Text;
mshtml.HTMLDocument objMSHTML = new mshtml.HTMLDocument();
HtmlDocument objDocument = new HtmlDocument();
objDocument = objMSHTML.createDocumentFromUrl(strURL, "");

i want to parse a webpage and get the url from it.
please can anyone help.
public string webcl(string url)
{
WebClient wb = new WebClient();
Stream returnval;
returnval = wb.OpenRead(url);
StreamReader sr = new StreamReader(returnval);
MessageBox.Show(sr.ReadToEnd().ToString());
string st=(sr.ReadToEnd().ToString());
return (st);
}
using webclient i did this and its running. but i'm getting all the html content of page. i need only url from it.

Paritosh Tripathi
B.Tech. (C.S.)

AnswerRe: hii please if anyone can help me would be great!!! Pin
Christian Graus10-Jun-08 4:13
protectorChristian Graus10-Jun-08 4:13 
Questionhow to convert text.table to text.pdftable in itextsharp? Pin
Ashish Kumar Vyas10-Jun-08 3:32
Ashish Kumar Vyas10-Jun-08 3:32 
AnswerRe: how to convert text.table to text.pdftable in itextsharp? Pin
Christian Graus10-Jun-08 3:34
protectorChristian Graus10-Jun-08 3:34 
AnswerRe: how to convert text.table to text.pdftable in itextsharp? Pin
eyeseetee10-Jun-08 4:03
eyeseetee10-Jun-08 4:03 
Questionthe list is not displayed in the page Pin
prasadbuddhika10-Jun-08 3:08
prasadbuddhika10-Jun-08 3:08 
AnswerRe: the list is not displayed in the page Pin
Christian Graus10-Jun-08 3:36
protectorChristian Graus10-Jun-08 3:36 
AnswerRe: the list is not displayed in the page Pin
eyeseetee10-Jun-08 4:04
eyeseetee10-Jun-08 4:04 
QuestionHow to Register Ocx Control Through Javascript Pin
vurugonda10-Jun-08 2:12
vurugonda10-Jun-08 2:12 
AnswerRe: How to Register Ocx Control Through Javascript Pin
eyeseetee10-Jun-08 2:22
eyeseetee10-Jun-08 2:22 
QuestionCode signing Pin
ananthrahul10-Jun-08 2:06
ananthrahul10-Jun-08 2:06 
Questionhow to stop database hacking Pin
Pankaj Garg10-Jun-08 1:33
Pankaj Garg10-Jun-08 1:33 
AnswerRe: how to stop database hacking Pin
Ashfield10-Jun-08 1:54
Ashfield10-Jun-08 1:54 
GeneralRe: how to stop database hacking Pin
Pankaj Garg10-Jun-08 2:04
Pankaj Garg10-Jun-08 2:04 
GeneralRe: how to stop database hacking Pin
Ashfield10-Jun-08 2:24
Ashfield10-Jun-08 2:24 
GeneralRe: how to stop database hacking Pin
Christian Graus10-Jun-08 3:38
protectorChristian Graus10-Jun-08 3:38 
AnswerRe: how to stop database hacking Pin
N a v a n e e t h10-Jun-08 2:00
N a v a n e e t h10-Jun-08 2:00 
QuestionRe: how to stop database hacking Pin
Pankaj Garg10-Jun-08 2:10
Pankaj Garg10-Jun-08 2:10 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.