Click here to Skip to main content
15,914,222 members
Home / Discussions / C#
   

C#

 
GeneralRe: Real Time Applications Pin
sreejith ss nair30-Sep-04 7:30
sreejith ss nair30-Sep-04 7:30 
GeneralRe: Real Time Applications Pin
Dave Kreskowiak30-Sep-04 7:52
mveDave Kreskowiak30-Sep-04 7:52 
GeneralRe: Real Time Applications Pin
Heath Stewart30-Sep-04 9:19
protectorHeath Stewart30-Sep-04 9:19 
GeneralEvil Textboxes Width Changes When Large Fonts (C#) Pin
dbromberg30-Sep-04 5:48
dbromberg30-Sep-04 5:48 
GeneralRe: Evil Textboxes Width Changes When Large Fonts (C#) Pin
leppie30-Sep-04 7:47
leppie30-Sep-04 7:47 
GeneralRe: Evil Textboxes Width Changes When Large Fonts (C#) Pin
dbromberg30-Sep-04 8:17
dbromberg30-Sep-04 8:17 
Generalstatic variable Pin
goatstudio30-Sep-04 5:32
goatstudio30-Sep-04 5:32 
GeneralRe: static variable Pin
Dave Kreskowiak30-Sep-04 6:01
mveDave Kreskowiak30-Sep-04 6:01 
Your question would be better handled in the ASP.NET Forum. This is a web development/ASP.NET question, regardless of the language that the code-behind is written in.

The static variable idea won't work considering that ASP.NET, as any HTML page, is stateless. You have to save the values to hidden fields on the page, to be read back when the page is posted back to the server, or in the Session object, or somewhere else that can handle state. And, no, it won't become global. There is no such thing in the .NET Framework.



RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

GeneralRe: static variable Pin
goatstudio30-Sep-04 6:22
goatstudio30-Sep-04 6:22 
GeneralRe: static variable Pin
Heath Stewart30-Sep-04 6:22
protectorHeath Stewart30-Sep-04 6:22 
GeneralRe: static variable Pin
goatstudio30-Sep-04 6:27
goatstudio30-Sep-04 6:27 
GeneralRe: static variable Pin
Heath Stewart30-Sep-04 6:42
protectorHeath Stewart30-Sep-04 6:42 
GeneralRe: static variable Pin
Dave Kreskowiak30-Sep-04 8:33
mveDave Kreskowiak30-Sep-04 8:33 
GeneralRe: static variable Pin
Heath Stewart30-Sep-04 9:10
protectorHeath Stewart30-Sep-04 9:10 
GeneralRe: static variable Pin
Dave Kreskowiak30-Sep-04 10:57
mveDave Kreskowiak30-Sep-04 10:57 
GeneralTransparent Panel Pin
MarkMokris30-Sep-04 5:28
MarkMokris30-Sep-04 5:28 
GeneralRe: Transparent Panel Pin
Heath Stewart30-Sep-04 6:32
protectorHeath Stewart30-Sep-04 6:32 
GeneralRe: Transparent Panel Pin
MarkMokris30-Sep-04 6:36
MarkMokris30-Sep-04 6:36 
GeneralRe: Transparent Panel Pin
Heath Stewart30-Sep-04 6:50
protectorHeath Stewart30-Sep-04 6:50 
Generalword formatting bar Pin
RomanD30-Sep-04 5:15
RomanD30-Sep-04 5:15 
GeneralRe: word formatting bar Pin
Dave Kreskowiak30-Sep-04 5:57
mveDave Kreskowiak30-Sep-04 5:57 
GeneralRe: word formatting bar Pin
RomanD30-Sep-04 6:09
RomanD30-Sep-04 6:09 
GeneralRe: word formatting bar Pin
Dave Kreskowiak30-Sep-04 7:21
mveDave Kreskowiak30-Sep-04 7:21 
GeneralUser clicks on dataGrid.... Pin
JDUK30-Sep-04 4:27
JDUK30-Sep-04 4:27 
GeneralRe: User clicks on dataGrid.... Pin
MarkMokris30-Sep-04 5:16
MarkMokris30-Sep-04 5:16 

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.