TNPSC Exammms Bank 2
TNPSC Exammms Bank 2
.NET Framework is used to create and run software applications. . NET apps can run on
many operating systems, using different implementations of . NET. . NET Framework is used
for running .
2.comment on cls
The ReDim statement is used to size or resize a dynamic array that has already been
formally declared by using a Private, Public, or Dim statement with empty parentheses
(without dimension subscripts). Use the ReDim statement repeatedly to change the number
of elements and dimensions in an array.
When Option Explicit On or Option Explicit appears in a file, you must explicitly declare all
variables by using the Dim or ReDim statements. If you try to use an undeclared variable
name, an error occurs at compile time. The Option Explicit Off statement allows implicit
declaration of variables.
Trace produces messages about program conditions even after application is compiled and
released without interrupting application execution.
It's Working
In visual basic, Destructor is a special method of a class and it is useful in class to destroy
the object or instances of classes. The destructor in visual basic will invoke automatically
whenever the class instances become unreachable.
Dataset:
1. Dataset is a in-memory representation of database
2. DataSet is a disconnected orient architecture that means there is no need of active
connections during work with datasets and it is a collection of DataTables and relations
between tables
3. Dataset is readable and writable
4. Its possible to write and read XML data
Datareader:
1. Datareader is connected mode, and read and forward-only Data
2. DataReader will fetch the data very fast when compared with Dataset
3. Datareader is readonly
The SqlCommandBuilder object acts as a listener for RowUpdating events, whenever the
DataAdapter property is set. You can create a SqlCommandBuilder object to automatically
generate SQL statements for single table updates if you set the SelectCommand property of
the SqlDataAdapte
Global. asax is an optional file which is used to handling higher level application events such
as Application_Start, Application_End, Session_Start, Session_End etc. It is also popularly
known as ASP.NET Application File. This file resides in the root directory of an ASP.
A web service is a web application which is basically a class consisting of methods that
could be used by other applications. It also follows a code-behind architecture such as the
ASP.NET web pages, although it does not have a user interface.
The Main Programming Languages of . Net. Dot Net is a huge software framework, which
contains 32 programming languages. Some of the prominent languages are C#, F#, and
Visual Basic.
11.Comment on CTS?
NET Framework, the Common Type System (CTS) is a standard that specifies how type
definitions and specific values of types are represented in computer memory. It is intended
to allow programs written in different programming languages to easily share information.
13.What is Array?
An array stores a fixed-size sequential collection of elements of the same type. An array is
used to store a collection of data, but it is often more useful to think of an array as a
collection of variables of the same type. All arrays consist of contiguous memory locations.
● Create a project.
● Create a Visual Basic application project. ...
● Add a button to the form. After you select your Visual Basic project template and
name your file, Visual Studio opens a form for you. ...
● Add a label and code. ...
● Run the application. …
The WithEvents keyword informs VB that the object being referenced exposes events for
which you intend to provide event handlers.
The goal of ADO.NET is to provide a bridge between your objects in ASP.NET and your
back-end database. ADO.NET provides an object-oriented view into the database,
encapsulating many of the database properties and relationships within ADO.NET objects
Controls are small building blocks of the graphical user interface, which include text boxes,
buttons, check boxes, list boxes, labels, and numerous other tools. Using these tools, the
users can enter data, make selections and indicate their preferences.
Controls are also used for structural jobs, like validation, data access, security, creating
master pages, and data manipulation.