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
Explain the difference between object type and dynamic type variables in c#?
Explain About Assembly in .NET, types of assemblies, their difference, How to register into GAC. How to generate the strong names & its use.
What is the components of window?
When should I use static in C#?
How to force my .net app to run as administrator on windows 7?
What is a class in unity?
How many types of constructors are available in c#?
Why ref is used in c#?
Is c# a backend language?
Explain the functionalities of satellite assembly?
What is the difference between int.parse and int.tryparse methods?
Explain the difference between Metadata and Manifest
What is sql transaction in c#?
What is the difference between interface and inheritance in c#?
Is int reference type c#?