Click here to Skip to main content
15,908,841 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: checkall Pin
Guffa16-Nov-06 14:57
Guffa16-Nov-06 14:57 
AnswerRe: checkall Pin
Britney S. Morales17-Nov-06 1:49
Britney S. Morales17-Nov-06 1:49 
QuestionLogin Control Centering Pin
wgcampbell16-Nov-06 11:20
wgcampbell16-Nov-06 11:20 
AnswerRe: Login Control Centering Pin
Tal Kain16-Nov-06 14:50
Tal Kain16-Nov-06 14:50 
GeneralRe: Login Control Centering Pin
wgcampbell16-Nov-06 16:56
wgcampbell16-Nov-06 16:56 
AnswerRe: Login Control Centering Pin
ednrgc17-Nov-06 2:35
ednrgc17-Nov-06 2:35 
GeneralRe: Login Control Centering Pin
wgcampbell17-Nov-06 4:27
wgcampbell17-Nov-06 4:27 
QuestionHow to modify Application level variable Pin
Glenn E. Lanier II16-Nov-06 8:32
Glenn E. Lanier II16-Nov-06 8:32 
I read some [semi] constant values from a file at application start

-- File: global.asax.cs --
<br />
protected void Application_Start(Object sender, EventArgs e)<br />
{<br />
   Application.Set(Name1, value1);<br />
}<br />
<br />
static public string Name1<br />
{<br />
    get { return "NAME1";	}<br />
}<br />


Later, when I need to access the value1, I can do something like:

<br />
literal1.Text = Application[VSDonation.Global.Name1].ToString();<br />


This is all working properly. However, I need to modify the value stored as Application["NAME1"] from an administrative page. I'm having much trouble getting this work. Any pointers or ideas?

Thanks.


--G
AnswerRe: How to modify Application level variable Pin
Grapes-R-Fun16-Nov-06 9:06
Grapes-R-Fun16-Nov-06 9:06 
GeneralRe: How to modify Application level variable Pin
Glenn E. Lanier II16-Nov-06 10:07
Glenn E. Lanier II16-Nov-06 10:07 
AnswerRe: How to modify Application level variable Pin
Guffa16-Nov-06 9:42
Guffa16-Nov-06 9:42 
GeneralRe: How to modify Application level variable Pin
Glenn E. Lanier II16-Nov-06 10:05
Glenn E. Lanier II16-Nov-06 10:05 
AnswerRe: How to modify Application level variable Pin
Guffa16-Nov-06 10:50
Guffa16-Nov-06 10:50 
AnswerRe: How to modify Application level variable Pin
Glenn E. Lanier II16-Nov-06 10:09
Glenn E. Lanier II16-Nov-06 10:09 
AnswerRe: How to modify Application level variable Pin
Guffa16-Nov-06 10:51
Guffa16-Nov-06 10:51 
GeneralRe: How to modify Application level variable Pin
Glenn E. Lanier II16-Nov-06 13:20
Glenn E. Lanier II16-Nov-06 13:20 
QuestionPublishing Debug code or Release Code Pin
Tad McClellan16-Nov-06 4:20
professionalTad McClellan16-Nov-06 4:20 
AnswerRe: Publishing Debug code or Release Code Pin
Grapes-R-Fun16-Nov-06 5:00
Grapes-R-Fun16-Nov-06 5:00 
AnswerRe: Publishing Debug code or Release Code Pin
Paddy Boyd16-Nov-06 5:24
Paddy Boyd16-Nov-06 5:24 
AnswerRe: Publishing Debug code or Release Code Pin
ednrgc16-Nov-06 5:26
ednrgc16-Nov-06 5:26 
GeneralRe: Publishing Debug code or Release Code Pin
Tad McClellan16-Nov-06 15:08
professionalTad McClellan16-Nov-06 15:08 
GeneralRe: Publishing Debug code or Release Code Pin
ednrgc17-Nov-06 2:26
ednrgc17-Nov-06 2:26 
AnswerRe: Publishing Debug code or Release Code Pin
Britney S. Morales16-Nov-06 5:43
Britney S. Morales16-Nov-06 5:43 
QuestionWhat's wrong with my Session Code? [modified] Pin
Dayekh16-Nov-06 4:17
Dayekh16-Nov-06 4:17 
AnswerRe: What's wrong with my Session Code? Pin
ednrgc16-Nov-06 5:30
ednrgc16-Nov-06 5:30 

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.