Click here to Skip to main content
15,904,155 members
Home / Discussions / ASP.NET
   

ASP.NET

 
JokeRe: Ajax Issue Pin
Ri Qen-Sin6-Feb-08 3:18
Ri Qen-Sin6-Feb-08 3:18 
GeneralRe: Ajax Issue Pin
Ri Qen-Sin6-Feb-08 3:19
Ri Qen-Sin6-Feb-08 3:19 
QuestionIIS/ASP.NET High Load Pin
Vasudevan Deepak Kumar5-Feb-08 5:41
Vasudevan Deepak Kumar5-Feb-08 5:41 
GeneralRe: IIS/ASP.NET High Load Pin
Sam Xavier13-Feb-08 23:34
Sam Xavier13-Feb-08 23:34 
GeneralConsole.WriteLine and Response.Write Pin
Brendan Vogt5-Feb-08 4:23
Brendan Vogt5-Feb-08 4:23 
GeneralRe: Console.WriteLine and Response.Write Pin
pmarfleet5-Feb-08 5:34
pmarfleet5-Feb-08 5:34 
QuestionWindows Authentication Help Needed Pin
Brendan Vogt5-Feb-08 4:21
Brendan Vogt5-Feb-08 4:21 
Generalreading HTML file and Append text Pin
gottimukkala5-Feb-08 3:44
gottimukkala5-Feb-08 3:44 
Hi

I have to read all the link lines in HTML file. If the links path is not already there, then append link. I have done like below but I could not append the link if I use my code.

StreamReader sr = File.OpenText(navigationFile);<br />
  String line = sr.ReadToEnd();<br />
  if (!(line.IndexOf(pubPath) > 1))<br />
  {<br />
  sr.Close();<br />
  using (StreamWriter sw = File.AppendText(navigationFile))<br />
  {<br />
    sw.WriteLine("<br />");<br />
    sw.WriteLine("<a href=" + pubPath + ">");<br />
    sw.WriteLine(pubTitle);<br />
    sw.WriteLine("</a>");<br />
    sw.Close();<br />
  }<br />

Does any one have Idea about it.

thanks.
Generalreading HTML file and Append text Pin
gottimukkala5-Feb-08 3:44
gottimukkala5-Feb-08 3:44 
Generaluploading asp.net files to a web server Pin
eyeseetee5-Feb-08 3:39
eyeseetee5-Feb-08 3:39 
GeneralRe: uploading asp.net files to a web server Pin
eggsovereasy5-Feb-08 9:12
eggsovereasy5-Feb-08 9:12 
GeneralRe: uploading asp.net files to a web server Pin
eyeseetee5-Feb-08 21:45
eyeseetee5-Feb-08 21:45 
QuestionDrop Down Lists on web pages problem Pin
Anoop Brijmohun5-Feb-08 2:53
Anoop Brijmohun5-Feb-08 2:53 
GeneralRe: Drop Down Lists on web pages problem Pin
bokuceres5-Feb-08 17:31
bokuceres5-Feb-08 17:31 
GeneralRe: Drop Down Lists on web pages problem Pin
Anoop Brijmohun5-Feb-08 22:07
Anoop Brijmohun5-Feb-08 22:07 
GeneralRe: Drop Down Lists on web pages problem Pin
bokuceres7-Feb-08 19:10
bokuceres7-Feb-08 19:10 
GeneralGridView + .net 2.0 Pin
trilokharry5-Feb-08 2:46
trilokharry5-Feb-08 2:46 
GeneralRe: GridView + .net 2.0 Pin
Abhijit Jana5-Feb-08 2:51
professionalAbhijit Jana5-Feb-08 2:51 
GeneralRe: GridView + .net 2.0 Pin
bokuceres5-Feb-08 17:42
bokuceres5-Feb-08 17:42 
GeneralSql Connection Error!!! Pin
kibromg5-Feb-08 2:06
kibromg5-Feb-08 2:06 
GeneralRe: Sql Connection Error!!! Pin
Abhijit Jana5-Feb-08 2:25
professionalAbhijit Jana5-Feb-08 2:25 
GeneralRe: Sql Connection Error!!! Pin
kibromg5-Feb-08 2:47
kibromg5-Feb-08 2:47 
GeneralRe: Sql Connection Error!!! Pin
Abhijit Jana5-Feb-08 2:50
professionalAbhijit Jana5-Feb-08 2:50 
GeneralRe: Sql Connection Error!!! Pin
kibromg5-Feb-08 2:59
kibromg5-Feb-08 2:59 
GeneralRe: Sql Connection Error!!! Pin
kibromg5-Feb-08 4:05
kibromg5-Feb-08 4:05 

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.