Click here to Skip to main content
15,919,132 members
Home / Discussions / ASP.NET
   

ASP.NET

 
Questionget the difference between two dates Pin
abdelhameed8125-Sep-06 1:51
abdelhameed8125-Sep-06 1:51 
AnswerRe: get the difference between two dates Pin
M LN Rao25-Sep-06 2:15
M LN Rao25-Sep-06 2:15 
AnswerRe: get the difference between two dates Pin
Guffa25-Sep-06 2:17
Guffa25-Sep-06 2:17 
AnswerRe: get the difference between two dates Pin
Meax25-Sep-06 2:18
Meax25-Sep-06 2:18 
AnswerRe: get the difference between two dates Pin
parveen_banuk25-Sep-06 2:59
parveen_banuk25-Sep-06 2:59 
QuestionHelp on ErrSub: Pin
Dayekh25-Sep-06 1:46
Dayekh25-Sep-06 1:46 
Questionhow to add javascript to webapplication and how to use it Pin
ashraf hakiem25-Sep-06 1:40
ashraf hakiem25-Sep-06 1:40 
AnswerRe: how to add javascript to webapplication and how to use it Pin
Jakob Farian Krarup25-Sep-06 1:47
Jakob Farian Krarup25-Sep-06 1:47 
AnswerRe: how to add javascript to webapplication and how to use it Pin
parveen_banuk25-Sep-06 3:05
parveen_banuk25-Sep-06 3:05 
AnswerRe: how to add javascript to webapplication and how to use it Pin
Meax25-Sep-06 4:52
Meax25-Sep-06 4:52 
QuestionAvoiding login box in NTLM authentication Pin
Vijay Bhasker Reddy CH25-Sep-06 1:40
Vijay Bhasker Reddy CH25-Sep-06 1:40 
AnswerRe: Avoiding login box in NTLM authentication Pin
M LN Rao25-Sep-06 2:20
M LN Rao25-Sep-06 2:20 
Questionupdate app.config file at runtime using my.settings Pin
steve_rm25-Sep-06 1:22
steve_rm25-Sep-06 1:22 
AnswerRe: update app.config file at runtime using my.settings Pin
M LN Rao25-Sep-06 1:42
M LN Rao25-Sep-06 1:42 
AnswerRe: update app.config file at runtime using my.settings Pin
parveen_banuk25-Sep-06 3:29
parveen_banuk25-Sep-06 3:29 
QuestionRe: update app.config file at runtime using my.settings Pin
steve_rm25-Sep-06 4:46
steve_rm25-Sep-06 4:46 
Hello

I am using my.settings to create a application scope connection string.

The customer would like to change this if they want to connect to another database, and this should update the app.config file with the updated connection string.

My problem I have into the setting and create a connection string (easy). But I don't know and can't find out to update and save the new connection string.

My.Settings.cnnString = "This is example connection" 'Error read-only property

I am using vb.net 2005

Can anyone help,

I got this code and it seem it would work. However, there is a problem with the code. I get a "Object reference not set to an instance of an object."

Here my code.
<br />
Dim config As Configuration.Configuration = Configuration.ConfigurationManager.OpenExeConfiguration(Configuration.ConfigurationUserLevel.None)<br />
        config.ConnectionStrings.ConnectionStrings("ServiceMasterConnectionString").ConnectionString = "This is new connection " 'Error - <br />
        config.Save()<br />


Thanks in advance,

Steve
QuestionPlease help me to set dataGrid Scrolling Pin
Kokila.B25-Sep-06 0:52
Kokila.B25-Sep-06 0:52 
AnswerRe: Please help me to set dataGrid Scrolling Pin
Amit Kushwaha25-Sep-06 0:58
Amit Kushwaha25-Sep-06 0:58 
GeneralRe: Please help me to set dataGrid Scrolling Pin
Kokila.B25-Sep-06 1:32
Kokila.B25-Sep-06 1:32 
GeneralRe: Please help me to set dataGrid Scrolling Pin
Amit Kushwaha25-Sep-06 3:40
Amit Kushwaha25-Sep-06 3:40 
Questioncan not run in debug mode - vs.net 1.0 Pin
Amit Kushwaha25-Sep-06 0:48
Amit Kushwaha25-Sep-06 0:48 
QuestionCrystal Reports Problem Pin
vikram92924-Sep-06 23:50
vikram92924-Sep-06 23:50 
Questionsession problem firebox Pin
S.Bhushan24-Sep-06 23:24
S.Bhushan24-Sep-06 23:24 
Questiondatagrid problem urgent!!! Pin
vijay258324-Sep-06 23:12
vijay258324-Sep-06 23:12 
AnswerRe: datagrid problem urgent!!! Pin
M LN Rao25-Sep-06 1:09
M LN Rao25-Sep-06 1:09 

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.