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.



Suppose in a scenario if we want to display information only until 4.00 p.m and after that means ..

Answer / 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

More C Sharp Interview Questions

How do you convert byte array to hexadecimal string, and vice versa?

0 Answers  


What are cookies in c#?

0 Answers  


explain the three services model commonly know as a three-tier application.

0 Answers   Siebel Systems,


What are the 2 broad classifications of fields in c#?

0 Answers  


Is c# 8 released?

0 Answers  






Can a constructor have a return type?

0 Answers  


Explain About Assembly in .NET, types of assemblies, their difference, How to register into GAC. How to generate the strong names & its use.

0 Answers  


Is c# easier than c++?

0 Answers  


Does unity require coding?

0 Answers  


can any one send the project manager questions in .net

1 Answers  


Can abstract class be sealed?

0 Answers  


What is tuple in c#?

0 Answers  


Categories