Vb.net Ques And Ans

  • May 2020
  • PDF

This document was uploaded by user and they confirmed that they have the permission to share it. If you are author or own the copyright of this book, please report to us by using this DMCA report form. Report DMCA


Overview

Download & View Vb.net Ques And Ans as PDF for free.

More details

  • Words: 746
  • Pages: 2
VB.NET INTVW QUES AND ANS Q : Define Context menu in VB.NET? A : It is useful for enabling access to commands in a variety of contextual situations. It is created at run time in the same manner as a main menus It is created the using Context Menu control. Q : Define the Validation in VB.NET? A :Validation of two types of level validation there are, Form-level :Validates all fields on a form simultaneously. Field-level : Validation validates each field as data is entered. Q : What is a visual inheritance in VB.NET? A : A Visual inheritance allows the deriving forms from the base form with common controls. Q : What is the difference between VB and VB.NET? A: VB does not support inheritance, but VB.NET supports the inheritance. VB does not support polymorphisms, but VB.NET supports Polymorphisms. VB is OOPS based, but VB.NET completely supported for OOPS. VB supports interfaces, but VB.NET fully supports interface based programming VB uses VB runtime, but VB.NET uses CLR. Q : How to store and retrieve images in sql server database through VB.NET? A : Server supports the ability for clients to store the objects within tables. Create the Field that data type Image and Initialize byte an array with a null value initially. Use FileInfo object to get file size. Open FileStream to read file. Q : What is the Advantages of VB.NET? A : First of all, VB.NET provides managed code execution that runs under the Common Language Runtime (CLR), resulting in robust, stable and secure applications. All features of the .NET framework are readily available in VB.NET. VB.NET is totally object oriented. This is a major of addition that VB6 and other earlier releases did not have. VB.NET uses XML to transfer the data between the various layers in the DNA Architecture i.e. data are passed as simple text strings. The .NET framework comes with the ADO.NET, which follows the disconnected paradigm, i.e. once the required records are fetched the connection no longer exists. It is also retrieves the records that are expected to be accessed in the immediate future. This enhances Scalability of the application to a great extent. Error handling has changed in VB.NET. A new Try-Catch-Finally block has been introduced to handle errors and exceptions as a unit, allowing appropriate action to be taken at the place the error occurred thus discouraging the use of ON ERROR GOTO statement. This again credits to the maintainability of the code.

Q :What is the difference between DataSet and DataTable? A : DataTable: Represents one table of in-memory data table can have one table only or we can say Data table is a collection of record's that consist the single table Dataset: Represents an in-memory cache of data we can also say data set is a collection of data table it is based on xml format. It is used to for data storing in cache as a disconnected recordset dataset is using data manipulation in cache without connection to database. Q :What is the DataType conversion in VB.NET ? A : Convert one variable type to another one is called datatype and Another conversion we can also called this casting in VB.NET some automatically conversion is also there. Q : What is the branching logic control in vb.net ? A : Function and subroutines are the answer. The diffrence between in two of them is function send to the information back from where it is called means function can return a value but subroutines can not do this. Q :What do you mean by Serialization and Deserialization and it’s use? A: To load data from xml file to vb.net form is called DeSerialization. To store the vb.net for data into an xml file is called Serialization. Q : What are the various open source tool available for VB.NET? A : When compared with the rapid development of open source tools for other languages from Microsoft (C#, etc) we can say the that development of tools for VB has been slow. Mono development platform is one which is implementing VB libraries are working on a compiler. Q : What is the branching logic control in vb.net? A : Function and subroutines are the answer. The diffrence between in two of them is function send the information back from where it is called means function can return a value but subroutines can not do this.

This question has been viewed 1043 times so far.

Sponsored Links

Related Documents

Vb.net Ques And Ans
May 2020 5
C# Ques And Ans
May 2020 9
Xml Ques & Ans
October 2019 22
Ques Ans Interviews
November 2019 10
Vbnet
June 2020 24
Vbnet
June 2020 26