Click here to Skip to main content
15,920,801 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: asp.net C# Pin
jkirkerx18-Oct-12 9:02
professionaljkirkerx18-Oct-12 9:02 
GeneralRe: asp.net C# Pin
Don_329-Oct-12 0:00
Don_329-Oct-12 0:00 
Questionpopulating textBox without postback Pin
byka17-Oct-12 5:25
byka17-Oct-12 5:25 
AnswerRe: populating textBox without postback Pin
jkirkerx17-Oct-12 12:17
professionaljkirkerx17-Oct-12 12:17 
AnswerRe: populating textBox without postback Pin
Mr. Tapan Kumar18-Oct-12 1:31
Mr. Tapan Kumar18-Oct-12 1:31 
AnswerRe: populating textBox without postback Pin
Mayank_Gupta_24-Oct-12 22:53
professionalMayank_Gupta_24-Oct-12 22:53 
QuestionWeb.config appsetting issue Pin
Blikkies16-Oct-12 20:48
professionalBlikkies16-Oct-12 20:48 
AnswerRe: Web.config appsetting issue Pin
Richard Deeming17-Oct-12 3:43
mveRichard Deeming17-Oct-12 3:43 
A shared/static field initializer will only run once, usually when the class is first accessed. If that happens when the current time is not within the range, then the field will be initialized to False.

Try changing the VisitorApplicationsIsOpen field to a property:
VB
Public Shared Readonly Property VisitorApplicationsIsOpen As Boolean
   Get
      Return (Now >= VisitorApplicationOpenDate) And (Now <= VisitorApplicationCloseDate)
   End Get
End Property




"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer


Questionopen new windo without address bar Pin
ptvce16-Oct-12 3:43
ptvce16-Oct-12 3:43 
AnswerRe: open new windo without address bar Pin
Parwej Ahamad16-Oct-12 7:51
professionalParwej Ahamad16-Oct-12 7:51 
AnswerRe: open new windo without address bar Pin
liuguozhu201517-Oct-12 17:54
liuguozhu201517-Oct-12 17:54 
AnswerRe: open new windo without address bar Pin
KiranKumar Roy17-Oct-12 19:17
KiranKumar Roy17-Oct-12 19:17 
Questionhow to store the search results Pin
PP from bangalore16-Oct-12 3:23
PP from bangalore16-Oct-12 3:23 
AnswerRe: how to store the search results Pin
David Mujica16-Oct-12 3:58
David Mujica16-Oct-12 3:58 
GeneralRe: how to store the search results Pin
PP from bangalore16-Oct-12 4:30
PP from bangalore16-Oct-12 4:30 
QuestionRe: how to store the search results Pin
PP from bangalore16-Oct-12 5:05
PP from bangalore16-Oct-12 5:05 
AnswerRe: how to store the search results Pin
David Mujica16-Oct-12 8:45
David Mujica16-Oct-12 8:45 
QuestionRe: how to store the search results Pin
PP from bangalore17-Oct-12 2:32
PP from bangalore17-Oct-12 2:32 
Questioncrystal report for beginners Pin
abdul subhan mohammed15-Oct-12 0:04
professionalabdul subhan mohammed15-Oct-12 0:04 
AnswerRe: crystal report for beginners Pin
Richard MacCutchan15-Oct-12 4:50
mveRichard MacCutchan15-Oct-12 4:50 
GeneralSend a attachment(file) through mail Pin
Abhay .S. Patil14-Oct-12 23:27
Abhay .S. Patil14-Oct-12 23:27 
GeneralRe: Send a attachment(file) through mail Pin
Richard Deeming15-Oct-12 3:16
mveRichard Deeming15-Oct-12 3:16 
GeneralRe: Send a attachment(file) through mail Pin
Abhay .S. Patil15-Oct-12 19:14
Abhay .S. Patil15-Oct-12 19:14 
QuestionTiny MCE save problem Pin
leone14-Oct-12 3:17
leone14-Oct-12 3:17 
AnswerRe: Tiny MCE save problem Pin
jkirkerx15-Oct-12 11:26
professionaljkirkerx15-Oct-12 11:26 

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.