Dim now As DateTime = DateTime.Now If Not (now.DayOfWeek = DayOfWeek.Saturday Or now.DayOfWeek = DayOfWeek.Sunday) Then If now.Hour = 12 Then lblMessage.Text = "Lunch Time" Else lblMessage.Text = String.Empty End If End If
|How to estimate memory and number of CPU for an ASP.NET Application||13||28|
|Runtime error 76: path not found error VB6 program on Windows 7||3||334|
|Dialogbox API leak?||18||82|
|What the difference between blend and Visual Studio||3||78|
Join the community of 500,000 technology professionals and ask your questions.
Connect with top rated Experts
28 Experts available now in Live!