Call
whatsapp
9447387064 | 9847003556
0471-2335855 | 8089080088 | 0471-2334855
9447387064 | 9847003556
0471-2335855 | 8089080088 | 0471-2334855
Cisco Training in Trivandrum, Trinity Technologies

No.1 Training Institute in Kerala

ASP.NET QUESTIONS : PART 6

The SqlDataAdapter is capable of executing a SELECT, DELETE and UPDATE statement on a data source as well as extracting input from the result set into a DataTable object.This statement is?

True

false

SHOW ANSWER

Which of the following data adapter method used for loading data into data set ?

Fill()

Open()

Insert()

AddData()

SHOW ANSWER

Which one of these acts as a bridge between Datastore and Dataset ?

Connection

Command Object

Data Adapter

Data Set

SHOW ANSWER

How many tables can we load into a DataSet?

One

Two

Many 

None

SHOW ANSWER

Which of the following statements are wrong about datareaders in ado.net ?

data reader follows connected architecture.

data reader follows read only forward only mechanism.

data reader cannot be used for updating data in data source.

data reader is used for bulk updations.

SHOW ANSWER

Which of the below options are used for getting all the data returned by the following query ? Query: select * from students .

use ExecuteNonQuery() method.

Use ExecuteScalar() method.

Use ExecuteReader() method.

None of the options are correct.

SHOW ANSWER

Which of the following class is useful for reading the connection string present in a configuration file.

ConfigurationManager. 

Configuration.

ConnectionString.

DataReader.

SHOW ANSWER

Which is the best place for storing the Connection String ?

Gobal.asax

in a static application variable

Default.aspx

Configuration file

SHOW ANSWER

Which one of these was not part of classic ADO?

DataSet

 

XML

DataAdapter

DataReader

SHOW ANSWER

sqldatareader only provides read only access mode and cannot write data.This statement is?

True

False

SHOW ANSWER

In your ASP.NET web application you want to display a list of clients on a Web page. The client list displays 10 clients at a time, and you require the ability to edit the clients. Which Web control is the best choice for this scenario?

 

The DetailsView control

The Table control

The GridView control

The FormView control

SHOW ANSWER

Select the validation control used for “PatternMatching”

FieldValidator

RegularExpressionValidator

RangeValidator

PatternValidator

SHOW ANSWER

What does Response.End will do?

It will stop the server process

It will stop the client process

None of the above

SHOW ANSWER
BACK | NEXT
TRINITY SOFTWARE SOLUTIONS,IInd floor, Radheyam Towers, Gandhari Amman Kovil Road, Pulimood, Trivandrum - 1
0471-2334855 | 2335855 | 9447387064 | 9847003556 info@trinitytechnology.in