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

What is the data provider name to connect to access database?

0 Answers  


Are value types sealed?

0 Answers  


Explain when should you call the garbage collector in .net?

0 Answers  


Why is it a bad idea to throw your own exceptions?

4 Answers  


Constructor to an arbitrary base constructor?

0 Answers  






State the top.NET class that everything is derived from?

0 Answers   Siebel,


What is serialization in .net?

0 Answers  


Is enum a value type c#?

0 Answers  


Define c# i/o classes?

0 Answers  


What is dbcontext c#?

0 Answers  


What is dapper in c#?

0 Answers  


Distinguish between array and arraylist in c#?

0 Answers  


Categories