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
Is datetime value type c#?
Write the difference between TypeOf and GetType?
What is main thread in c#?
How we can create an array with non-default values?
What is the process of delegation?
What is asynchronous one-way calls?
Is c sharp free?
Why do we need interface in c#?
How do I enforce const correctness in c#?
Why do we need generics in c#?
What is cookies in c# asp net?
What is session management in c#?
can you create a function in c# which can accept varying number of arguments
What is array and types of array in c#?
How to add controls dynamically to the form using c#.net.