-
VbCrLf
Hello I would like to know what vbCrLf stands for? How it is used and where it is used? Private Sub btnCalculate_Click(ByVal sender As System.Object, _ ByVal e As System.EventArgs) Handles btnCalculate.Click Try Dim decMiles As Decimal = Convert.ToDecimal(txtMiles.Text) Dim decGallons As Decimal = Convert.ToDecimal(txtGallons.Text) Dim decEfficiency As Decimal = decMiles / decGallons...
-
Which is the best to retrieve Read-Only, Forward-only stream of data from database
A) Data SetB) Typed Data SetC) DataReaderExplanation: Datareader is the disconnected record set which provides a fast way to retrieve the data from the database.
-
The concept where the compiler knows the object type before the compile time is
A) Late BindingB) Early BindingC) None of bindingExplanation: As object’s Type is declared before compiling compiler knows everything about the object
-
When does an Application Exception occurs
A) When a non-fatal error occursB) When a Null argument is passed & can not be accepted as nullC) When a recoverable exception occursExplanation: Application Exception is thrown when a fatal exception occurs for which CLR has no idea about the cause.
-
Where do you fing Invalid Character Exception
A) System.B) System. DataC) System.Webservices.Protocols
-
-
-
-
What is the difference between class module and code module
A) Code modules are instantiated at runtime and class modules are instantiated at the time of designB) Class modules are instantiated at runtime to create objects and code modules do not have instancesC) None
-
-
Data can be loaded into a DataSet from:
A) Microsoft SQL ServerB) Microsoft ExchangeC) Microsoft Active Directory
-
-
-
-
-
JIT (in .NET ) stands for:
A) Just in TimeB) Job in TransitC) Java Intermediate TranslationExplanation: JIT compiler in .NET stands provides Just in time compilation feature.
-
-
-
Photos testing in QTP question
I have a page (let say www.abc.com) which contains the text "total photos (15)" where 15 is a variable which keeps changing as and when photos are added or deleted. On this page I have put a Text Checkpoint which is checking whether 'total photos (15)" is there or not and I have given a variable (t) in place of 15, i.e. Browser("abc").Page("def").Check CheckPoint("My photos-Public ("&t&")", so that...
-
MessageBox class In VB.NET 2005
Message boxes are often used objects. They are derived form Form Class, displayed modally and used to take user’s acknowledgement and also inform the user or alert the user of any thing that needs to be informed or alerted.
You cannot create a new instance of the System.Windows.Forms.MessageBox class. To display a message box, call the static method System.Windows.Forms.MessageBox.Show....
VB.NET Interview Questions
Ans