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


Please Help Members By Posting Answers For Below Questions

Is datetime value type c#?

481


Write the difference between TypeOf and GetType?

591


What is main thread in c#?

503


How we can create an array with non-default values?

509


What is the process of delegation?

495






What is asynchronous one-way calls?

525


Is c sharp free?

540


Why do we need interface in c#?

502


How do I enforce const correctness in c#?

534


Why do we need generics in c#?

510


What is cookies in c# asp net?

510


What is session management in c#?

529


can you create a function in c# which can accept varying number of arguments

602


What is array and types of array in c#?

482


How to add controls dynamically to the form using c#.net.

476