NetApp Most Frequently Asked VB.NET Interview Questions

NetApp Most Frequently Asked Latest VB.NET Interview Questions Answers

What Are The Difference Between Dispose(), Close(), Exit(), End()? When Do We Use Them?

dispose(): should release all the resources that it owns.
close():closing the application
exit():Exiting from the loop
end():stops the execution of the page/function/procedure

What Is The Purpose Of Using Executenonquery?

System.Data.OleDB
It contains the objects that we use to connect to a data source via an OleDB provider , such as OleDb
Connection, OleDBCOmmand System.Data.SqlClient
It contains objects that we use to connect to a data source via Tabular data stream interface provided by Microsoft Sql Server. This can be generally used to provide better performance because it removes some of the intermediate layers required by the OleDB provider.

What Is The Use Of Console Application?

Console Applications are command-line oriented applications that allow us to read characters from the console, write characters to the console and are executed in the DOS version. Console Applications are written in code and are supported by the System.

How Vb Implements The Disconnected Architecture As Like Vb.net?

In VB to implement a disconnected recordset, after you have filled the recordset with the data, set its active connection property to “Nothing”. That breaks the connection to the database. You can locally also save the data of the recordset by using its Save function.

What Is The Difference Between .dll Extension And .exe Extension Files?

The main difference between .dll and .exe is
.dll is the in process component where it take up the client’s memory space to run. So the communication between the application and component (dll) is very fast.
.EXE is the Out of process component. It uses its own memory (not application memory) to run the component. The communication between the application and component is slow when compared to .dll

What Is Different Between Web.config And Machine.config And Where It Will Be?

The settings made in the web. config file are applied to that particular web application only whereas the settings of machine.config file are applied to the whole asp.net application.

Differences Between Vb.net And C#, Related To Oops Concepts?

VB.NET is a windows application where as C# is a console.

What Is Non_deterministic Finalization?

The Finalize method is actually executed by the runtime on a special thread allocated by the Garbage Collector (GC).The Finalize method is executed whenever the runtime feels it is appropriate, such as when a low-resource condition occurs and this situation is often referred to as non-deterministic finalization.
NetApp Most Frequently Asked Latest VB.NET Interview Questions Answers
NetApp Most Frequently Asked Latest VB.NET Interview Questions Answers

How Do You Define A Read Only Properly In A Class Module?

Public Class YourClass
Private yourName As String
Private yourNumber As Decimal
Public Sub New(breed As String)
yourName = breed
End Sub
Public ReadOnly Property Name() As String
Get
Return yourName
End Get
End Property

What Is The Source Code For Display The Picture In Button Click Event?

PictureBox1. Image = Image.FromFile(”C:olympicsO8_basketball .gif”)

What Do You Mean By Option Strict On?

Option Strict On will restrict the implicit type casting (defalut is off in vb,net)

What Are Jagged Arrays ?

Jagged array is an array inside an array is called a jagged array.

Name And Explain Some Of The Exclusive Features Which Are Present In Vb?

Some of the features which are exclusive to VB are as follows: -

1) Name space can be hidden which can be disabled.
2) Certain project files can be hidden and a user can show them if he intends to do.
3) Lots and lots of shortcuts are present which ease the development of programs.
4) Using the AddressOf myObject function a delegate can be made.

What Is The Difference Between An Xml "fragment" And An Xml "document" ?

An XML fragment is an XML document with no single top-level root element To put it simple it is a part (fragment) of a well-formed xml document. (node) Where as a well- formed xml document must have only one root element.

How Would You Implement Inheritance Using Vb.net/c#?

When we set out to implement a class using inheritance, we must first start with an existing class from which we will derive our new subclass. This existing class, or base class, may be part of the NET system class library framework, it may be part of some other application or NET assembly, or we may create it as part of our existing application. Once we have a base class, we can then implement one or more subclasses based on that base class. Each of our subclasses will automatically have all of the methods, properties. and events of that base class including the implementation behind each method, property, and event. Our subclass can add new methods, properties, and events of its own - extending the original interface with new functionality. Additionally, a subclass can replace the methods and properties of the base class with its own new implementation - effectively overriding the original behavior and replacing it with new behaviors.

Essentially inheritance is a way of merging functionality from an existing class into our new subclass. Inheritance also defines rules for how these methods, properties, and events can be merged. In VB.NET we can use implements keyword for inheritance, while in C# we can use the sign (:: ) between subclass and baseclass.

Explain The Differences Between Server-side And Client-side Code?

Server side code executes on the server. For this to occur page has to be submitted or posted back. Events fired by the controls are executed on the server. Client side code executes in the browser of the client without submitting the page.

e.g. In ASP.NET for webcontrols like asp:button the click event of the button is executed on the server hence the event handler for the same in a part of the code-behind (server-side code). Along the server-side code events one can also attach client side events which are executed in the clients browser i.e. javascript events.

In Vb.net How To Connect Crystal Report?

Click on solution explorer window right click and add to add new item. The window will be displaced select the crystal reports we have save in any name but extension is used .rpt eg:sss.rpt.

When We Will Use Console?

Console is used only for web application.

What Are The Objects In Asp.net And Tell The Purpose Of Those Objects?

Here are 5 objects in asp.net

Response: This object is to response to other e.g.
Request: This object is request from server.
Application: This object is store global information of application.
Session: This object used store the values into variable.
Server.

Post a Comment

Previous Post Next Post