Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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 literal control

944


what are some characteristics of an array?

895


What is the difference between double and decimal in c#?

878


How do you define a predicate?

832


Write a sample code to write the contents to text file in c#?

840


What do you mean by hashtable c#?

951


What is the main method?

874


Is array value type in c#?

955


What is the ouput of the following program?

922


Why do we need structs in c#?

798


What is the difference between a function and a method?

909


Explain the difference between event and a delegate in c#?

921


Can I use ReaderWriterLock instead of Monitor.Enter/Exit for Threading?

924


Why are strings immutable in c#?

850


What is the difference between interface and abstract class in c#?

853