Click here to Skip to main content
15,899,679 members
Home / Discussions / C#
   

C#

 
QuestionRe: System.Security.SecurityException Pin
shopi3014-Jan-06 12:31
shopi3014-Jan-06 12:31 
AnswerRe: System.Security.SecurityException Pin
OMalleyW14-Jan-06 14:14
OMalleyW14-Jan-06 14:14 
QuestionHow insert controlls inide a listbox Pin
Sasuko14-Jan-06 4:23
Sasuko14-Jan-06 4:23 
AnswerRe: How insert controlls inide a listbox Pin
rabih_kai14-Jan-06 5:29
rabih_kai14-Jan-06 5:29 
Questionweb deployment set up project in .net 2005 Pin
cppdotnet14-Jan-06 1:23
cppdotnet14-Jan-06 1:23 
QuestionDrill down crystal reports in C# Pin
idreesbadshah14-Jan-06 1:03
idreesbadshah14-Jan-06 1:03 
QuestionHow can I get the contents of a given URL and edit it while displaying? Pin
sachu_vidya14-Jan-06 0:02
sachu_vidya14-Jan-06 0:02 
AnswerRe: How can I get the contents of a given URL and edit it while displaying? Pin
Mark Shehan14-Jan-06 13:50
Mark Shehan14-Jan-06 13:50 
In short yes.
Without writing the whole code for you (only because i am short of time) you need to create an System.Net.HttpRequest object.
HttpWebRequest req = (HttpWebRequest)WebRequest.Create("thewebpageyouwanttoget");
set the method to post and content type and any values you need and then get a webresponse back by calling
WebResponse resp = req.GetResponse()
to get the HTML of the resulting webpage just pass it into a streamreader
StreamReader sr = new StreamReader(resp.GetResponseStream())<br />
string theWebPage = sr.ReadToEnd();

Now you have the full html of the webpage in a string.... just do your search and replaces there and then pass it to your form to display.
GeneralRe: How can I get the contents of a given URL and edit it while displaying? Pin
sachu_vidya16-Jan-06 20:47
sachu_vidya16-Jan-06 20:47 
Questionhow do I implement scrolling? Pin
mihai_152913-Jan-06 21:59
mihai_152913-Jan-06 21:59 
AnswerRe: how do I implement scrolling? Pin
Robert Rohde13-Jan-06 22:20
Robert Rohde13-Jan-06 22:20 
GeneralRe: how do I implement scrolling? Pin
mihai_152913-Jan-06 22:46
mihai_152913-Jan-06 22:46 
GeneralRe: how do I implement scrolling? Pin
Curtis Schlak.14-Jan-06 2:48
Curtis Schlak.14-Jan-06 2:48 
Questionabout the listview Pin
abstarsss13-Jan-06 21:14
abstarsss13-Jan-06 21:14 
AnswerRe: about the listview Pin
mav.northwind13-Jan-06 21:51
mav.northwind13-Jan-06 21:51 
GeneralRe: about the listview Pin
abstarsss14-Jan-06 8:24
abstarsss14-Jan-06 8:24 
QuestionEmail issue Pin
damar1r13-Jan-06 19:49
damar1r13-Jan-06 19:49 
AnswerRe: Email issue Pin
CodyGen14-Jan-06 1:03
CodyGen14-Jan-06 1:03 
QuestionPortability Pin
tecywiz12113-Jan-06 19:15
tecywiz12113-Jan-06 19:15 
AnswerRe: Portability Pin
Joshua Quick13-Jan-06 21:53
Joshua Quick13-Jan-06 21:53 
AnswerRe: Portability Pin
Daniel Grunwald14-Jan-06 1:35
Daniel Grunwald14-Jan-06 1:35 
GeneralRe: Portability Pin
tecywiz12114-Jan-06 6:10
tecywiz12114-Jan-06 6:10 
GeneralRe: Portability Pin
Daniel Grunwald14-Jan-06 6:14
Daniel Grunwald14-Jan-06 6:14 
GeneralRe: Portability Pin
tecywiz12115-Jan-06 15:14
tecywiz12115-Jan-06 15:14 
QuestionHow to error Pin
Eddy Ho13-Jan-06 16:43
Eddy Ho13-Jan-06 16:43 

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.