Suppose in a scenario if we want to display information only
until 4.00 p.m and after that
means after 4.00 p.m if any one tries to access the
information it should give error mesage.
Then how will you write a delegate for this ? Give coding.
Answer Posted / hariharadeep
under page load event
string presenttime
presenttime = hrs & ":" & min
If presenttime > "16:00" Then
info.visibel=false
end if
| Is This Answer Correct ? | 7 Yes | 11 No |
Post New Answer View All Answers
What is literal control
what are some characteristics of an array?
What is the difference between double and decimal in c#?
How do you define a predicate?
Write a sample code to write the contents to text file in c#?
What do you mean by hashtable c#?
What is the main method?
Is array value type in c#?
What is the ouput of the following program?
Why do we need structs in c#?
What is the difference between a function and a method?
Explain the difference between event and a delegate in c#?
Can I use ReaderWriterLock instead of Monitor.Enter/Exit for Threading?
Why are strings immutable in c#?
What is the difference between interface and abstract class in c#?