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

What is data adapter in c#?

621


What are the ways in which client can create object on server in cao model?

716


What is a nested type. Give an example?

796


What is using directive in c#?

718


How many types of constructors are available in c#?

710


what is a structure in c#

974


What is a web service in c#?

748


Can you explicitly call a destructor?

673


What is the difference between overriding and overloading in systemverilog?

655


What is the advantage of dependency injection?

689


What is the data encapsulation?

629


What is method overriding in c#

757


You are designing a user control. You created new property called backgroundimage which is of type image. You wanted to disable storing this property in the user’s form. How to achieve this?

709


What is windows forms in c#?

626


What is Garbage Collection in .Net?

788