-
-
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
-
-
-
How is paging done In DATA GRID
I want to view the DATA as a set of 10 in each page.
-
-
Data can be loaded into a DataSet from:
A) Microsoft SQL ServerB) Microsoft ExchangeC) Microsoft Active Directory
-
-
-
-
VB.NET Interview Questions
Ans