CoolInterview.com - World's Largest Collection of Interview Questions & Answers, FAQs, queries, sample papers, exam papers, dumps, what, why, how, where, when questions OneStopTesting.com - Testing EBooks, Tutorials, Articles, Jobs, Training Institutes etc.
OneStopGate.com - Gate EBooks, Tutorials, Articles, FAQs, Jobs, Training Institutes etc.
OneStopMBA.com - MBA EBooks, Tutorials, Articles, FAQs, Jobs, Training Institutes etc.
OneStopIAS.com - IAS EBooks, Tutorials, Articles, FAQs, Jobs, Training Institutes etc.
OneStopSAP.com - SAP EBooks, Tutorials, Articles, FAQs, Jobs, Training Institutes etc.
OneStopGRE.com - of GRE EBooks, Tutorials, Articles, FAQs, Jobs, Training Institutes etc.

Sponsored Links

Interview Questions
Our Services

INTERVIEW QUESTIONS MICROSOFT ASP.NET 2.0 DETAILS
Question :

What is difference between OR and ORElse?



Category ASP.NET 2.0 Interview Questions
Rating (4.1) By 31 users
Added on 7/28/2011
Views 1336
Rate it!


Answers:

Source: CoolInterview.com

ORELSE - Either of the two expressions is true. If the first expression is True, the second is not evaluated. - ex. are from http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vblr7/html/valrfOrElseOperator.asp

Dim A As Integer = 10
Dim B As Integer = 8
Dim C As Integer = 6
Dim myCheck As Boolean
myCheck = A > B OrElse B > C ' True. Second expression is not evaluated.
myCheck = B > A OrElse B > C ' True. Second expression is evaluated.
myCheck = B > A OrElse C > B ' False.

If MyFunction(5) = True OrElse MyOtherFunction(4) = True Then
' If MyFunction(5) is True, MyOtherFunction(4) is not called.
' Insert code to be executed.
End If

ANDALSO -

Instead of doing thisIf(Function1() And Function2()) ThenDo thisIf(Function1() AndAlso Function2()) ThenThe first code will evaluate the result of Function2(), even if Function1() returned false.The second will only evaluate Function2() if Function1() returned true.




Source: CoolInterview.com




If you have the better answer, then send it to us. We will display your answer after the approval.
Rules to Post Answers in CoolInterview.com:-
  • There should not be any Spelling Mistakes.
  • There should not be any Gramatical Errors.
  • Answers must not contain any bad words.
  • Answers should not be the repeat of same answer, already approved.
  • Answer should be complete in itself.
Name :*
Email Id :*
Answer :*
Verification Code Code Image - Please contact webmaster if you have problems seeing this image code Not readable? Load New Code
Process Verification Enter the above shown code: *
Inform me about updated answers to this question

Related Questions
View Answer
What is difference between singleton and single call?

View Answer
What are client activated objects and server activated objects?

View Answer
Which namespace is used by ADO.NET?

View Answer

What is delay signing?



View Answer
What is CLR?
View Answer
What are webservices?

View Answer
What is .NET remoting?

View Answer
What is an assembly

View Answer
How would you implement inheritance using VB.NET/C#?

View Answer
Can you explain what inheritance is and an example of when you might use it?

View Answer
How does VB.NET/C# achieve polymorphism?

View Answer
What are ASP.NET Web Forms? How is this technology different than what is available though ASP (1.0-3.0)?

View Answer
If I'm developing an application that must accomodate multiple security levels though secure login and my ASP.NET web appplication is spanned across three web-servers (using round-robbin load balancing) what would be the best approach to maintain login-in state for the users?

View Answer
Can you give an example of what might be best suited to place in the Application_Start and Session_Start subroutines?

View Answer
What is the life cycle of an asp.net page?

View Answer
What is Viewstate?

View Answer
How can we implement a Identity (SQL Server) call in an asp.net page?

View Answer
How Dataadapter.fill works?

View Answer
How do we get only edited/deleted/inserted records from a Dataset?

View Answer
How do we Sort the data from a Dataset?

View Answer

Please Note: We keep on updating better answers to this site. In case you are looking for Jobs, Pls Click Here Vyoms.com - Best Freshers & Experienced Jobs Website.

View ALL ASP.NET 2.0 Interview Questions & Answers



User Options
India News Network

Latest 20 Questions
What is the Ecommerce Entry Tax applicable in Maharashtra?
What is the Ecommerce Entry Tax applicable in Jammu and Kashmir?
What is the Ecommerce Entry Tax applicable in Uttarakhand?
No waybill is required for import of printing materials under rule 99 of the W.B.V.A.T. Rules, 2005. Will entry tax have to be paid on its import?
A registered dealer has paid excess amount of entry tax in the month of March. Now he wants to adjust the same in the month of April of next year. Can he do so?
If a registered dealer inadvertently pays excess entry tax in one month, can he adjust that excess amount in the next month?
Will the provisions of summary assessment as introduced under W.B.V.A.T. Act, 2003 (i.e. section 47AA) be applicable under this Act too?
If a registered dealer imports any specified goods from outside India, on what value will he be liable to pay entry tax?
What is the meaning of the words (import value) in case of Entry Tax?
When the form ET-2 is to be used for Entry Tax in West Bengal?
Who has to furnish return under the W.B.T.E.G.L.A. Act, 2012, in West Bengal?
Can a registered dealer pay entry tax monthly in West Bengal?
Is entry tax payable on goods that enter into local area for onward movement to Assam i.e. using W.B. as a corridor, but only after transshipment at Silliguri?
Is entry tax payable on purchases made from a registered dealer of West Bengal who has already paid entry tax on those goods, assuming the goods enter into local area ?X? from local area ?Y??
Is entry tax payable on stock transfer by a dealer (Regd. or un-regd.) from its one branch to another branch in West Bengal only?
A dealer of Delhi has sold goods to Canteen Stores in West Bengal under Ministry of Defense, will Canteen Stores have to pay Entry Tax?
If goods dispatched from another State for immediate export to Bangladesh/Bhutan enters into local area in West Bengal, will entry tax become payable?
Whether Entry tax paid or payable under this Act qualify for input tax credit under the W.B.V.A.T Act, 2003?
On which specified goods entry tax is payable in West Bengal?
Is entry tax payable on all specified goods given in the Schedule?



Fresher Jobs | Experienced Jobs | Government Jobs | Walkin Jobs | Company Profiles | Interview Questions | Placement Papers | Companies In India | Consultants In India | Colleges In India | Exams In India | Latest Results | Notifications In India | Call Centers In India | Training Institutes In India | Job Communities In India | Courses In India | Jobs by Keyskills | Jobs by Functional Areas

Testing Articles | Testing Books | Testing Certifications | Testing FAQs | Testing Downloads | Testing Interview Questions | Testing Jobs | Testing Training Institutes

Gate Articles | Gate Books | Gate Colleges | Gate Downloads | Gate Faqs | Gate Jobs | Gate News | Gate Sample Papers | Gate Training Institutes

MBA Articles | MBA Books | MBA Case Studies | MBA Business Schools | MBA Current Affairs | MBA Downloads | MBA Events | MBA Notifications | MBA FAQs | MBA Jobs
MBA Job Consultants | MBA News | MBA Results | MBA Courses | MBA Sample Papers | MBA Interview Questions | MBA Training Institutes

GRE Articles | GRE Books | GRE Colleges | GRE Downloads | GRE Events | GRE FAQs | GRE News | GRE Training Institutes | GRE Sample Papers

IAS Articles | IAS Books | IAS Current Affairs | IAS Downloads | IAS Events | IAS FAQs | IAS News | IAS Notifications | IAS UPSC Jobs | IAS Previous Question Papers
IAS Results | IAS Sample Papers | IAS Interview Questions | IAS Training Institutes | IAS Toppers Interview

SAP Articles | SAP Books | SAP Certifications | SAP Companies | SAP Study Materials | SAP Events | SAP FAQs | SAP Jobs | SAP Job Consultants
SAP Links | SAP News | SAP Sample Papers | SAP Interview Questions | SAP Training Institutes |




Copyright ©2003-2016 CoolInterview.com, All Rights Reserved.
Privacy Policy | Terms and Conditions



Cache = 0 Seconds