Click here to Skip to main content
15,895,011 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: web.config Pin
John-ph12-Nov-07 0:05
John-ph12-Nov-07 0:05 
GeneralRe: web.config Pin
BasharatAli12-Nov-07 0:07
BasharatAli12-Nov-07 0:07 
GeneralRe: web.config Pin
John-ph12-Nov-07 0:12
John-ph12-Nov-07 0:12 
GeneralRe: web.config Pin
Paddy Boyd12-Nov-07 0:35
Paddy Boyd12-Nov-07 0:35 
GeneralRe: web.config Pin
BasharatAli12-Nov-07 0:58
BasharatAli12-Nov-07 0:58 
GeneralRe: web.config Pin
Paddy Boyd12-Nov-07 1:02
Paddy Boyd12-Nov-07 1:02 
GeneralRe: web.config Pin
Guffa12-Nov-07 1:47
Guffa12-Nov-07 1:47 
GeneralRe: web.config Pin
BasharatAli12-Nov-07 1:56
BasharatAli12-Nov-07 1:56 
i use this code for adding pr modifing connection string.

  Dim mydoc As System.Xml.XmlDocument = New System.Xml.XmlDocument<br />
        mydoc.Load(Application.StartupPath & "\..\..\app.config")<br />
        Dim node As System.Xml.XmlNode = mydoc.SelectSingleNode("configuration/connectionStrings/add")<br />
        Dim attribute As System.Xml.XmlAttributeCollection = node.Attributes<br />
        attribute(1).Value = ConnectionString<br />
mydoc.Save(Application.StartupPath & "\..\..\app.config")<br />


but Paddy Boyd said above
Note that changing the web.config will force your app domain to restart.

so i want to resolve this issue





BasharatAli

Internee
METESYS Lahore
Pakistan

GeneralRe: web.config Pin
John-ph12-Nov-07 2:38
John-ph12-Nov-07 2:38 
GeneralRe: web.config Pin
Guffa12-Nov-07 5:19
Guffa12-Nov-07 5:19 
GeneralRe: web.config Pin
BasharatAli12-Nov-07 17:18
BasharatAli12-Nov-07 17:18 
GeneralRe: web.config Pin
BasharatAli12-Nov-07 17:20
BasharatAli12-Nov-07 17:20 
AnswerRe: web.config Pin
Guffa12-Nov-07 22:02
Guffa12-Nov-07 22:02 
GeneralRe: web.config Pin
BasharatAli12-Nov-07 22:10
BasharatAli12-Nov-07 22:10 
GeneralRe: web.config Pin
Guffa13-Nov-07 11:17
Guffa13-Nov-07 11:17 
QuestionRadioButton Pin
ps.srinivasan11-Nov-07 23:18
ps.srinivasan11-Nov-07 23:18 
AnswerRe: RadioButton Pin
John-ph11-Nov-07 23:32
John-ph11-Nov-07 23:32 
QuestionHow to lock a record? Pin
samerh11-Nov-07 23:01
samerh11-Nov-07 23:01 
AnswerRe: How to lock a record? Pin
Christian Graus11-Nov-07 23:05
protectorChristian Graus11-Nov-07 23:05 
GeneralRe: How to lock a record? Pin
samerh11-Nov-07 23:22
samerh11-Nov-07 23:22 
GeneralRe: How to lock a record? Pin
Christian Graus11-Nov-07 23:51
protectorChristian Graus11-Nov-07 23:51 
Questionhow to run a html file when i run the dotnet application? Pin
codeproject_buna11-Nov-07 22:59
codeproject_buna11-Nov-07 22:59 
AnswerRe: how to run a html file when i run the dotnet application? Pin
Christian Graus11-Nov-07 23:05
protectorChristian Graus11-Nov-07 23:05 
Questionhow to use xml coment in vbdotnet 1.1 Pin
codeproject_buna11-Nov-07 22:52
codeproject_buna11-Nov-07 22:52 
AnswerRe: how to use xml coment in vbdotnet 1.1 Pin
Christian Graus11-Nov-07 23:06
protectorChristian Graus11-Nov-07 23:06 

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.