1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
sattari [20]
3 years ago
11

A ____ is used to perform a forward-only (sequential) access of the data in the data source while a ____ is used to populate a d

ataset and updates the database.a.connection, data adapterb.data reader, commandc.data adapter, data readerd.data reader, data adapter
Computers and Technology
1 answer:
tamaranim1 [39]3 years ago
4 0

Answer:

d. Data reader, Data Adapter

Explanation:

Data Reader statements are used to sequentially read streams of data from a database into a program.

It provides an easy way to read data from a data source or database in a one way direction.

Data Adapter:

DataAdapter is an object used in a disconnected data environment and can be seen as a link between a data sourc and this disconnected data class.

It clearly identifies commands, brings data from the database and then populates these data in the data set.

An example of their usage in Microsoft Visual C# (winforms) is

SqlConnection connect = new SqlConnection ("connection string");

connect.Open();

SqlCommand command = new SqlCommand("SQL Query", connect);

SqlDataReader reader = command.ExecuteReader();

.....

.........

Data Adapter

SqlConnection connect = new SqlConnection ("connection string");

connect.Open();

SqlDataAdapter adapter = new SqlDataAdapter("SQL Query", connect);

DataSet dset = new DataSet();

adapter.Fill(dset);

........

............

You might be interested in
Comments should Your answer: rephrase the code it explains in English be insightful and explain what the instruction's intention
Ne4ueva [31]

Answer:

(b) be insightful and explain what the instruction's intention is.

Explanation:

Required

Which describes a comment in options (a) to (d)

Comments are not meant to replace the original code but to explain what the code is meant to do; so that even if the code gets to a non-programmer, the person will understand what the code is all about.

<em>From (a) to (d), only option (b) fits the above description.</em>

6 0
3 years ago
Consider the classes below:
jeka57 [31]

Answer:

Hi!

The correct answer is d. Neither (a) nor (b) is true.

Explanation:

First, you have to know what the scripts intend to do, and they are counting from 1 to 10 in both cases.

Table of results of class TestA at end of each iteration:

[j = 0,  counter =  1]

[j = 10,  counter =  2]

[j = 20,  counter =  3]

[j = 30,  counter =  4]

[j = 40,  counter =  5]

[j = 50,  counter =  6]

[j = 60,  counter =  7]

[j = 70,  counter =  8]

[j = 80,  counter =  9]

[j = 90,  counter =  10]

Table of results of class TestB at end of each iteration:

[j = 10,  counter =  1]

[j = 9,  counter =  2]

[j = 8,  counter =  3]

[j = 7,  counter =  4]

[j = 6,  counter =  5]

[j = 5,  counter =  6]

[j = 4,  counter =  7]

[j = 3,  counter =  8]

[j = 2,  counter =  9]

[j = 1,  counter =  10]

That's why a) and b) are false.

Maybe you want to know why using pre increments on class TestB doesn't affect the loop. The reason is that when enters in a loop, first checks the test condition and takes the decision if true or false, and last executes the incrementation step.

7 0
3 years ago
What are procedures that help keep a data base current
Veseljchak [2.6K]

File maintenance supports adding, modifying, or deleting records, as well as creating backup copies of the database

5 0
3 years ago
Read 2 more answers
Orphan record example?
Goryan [66]

Answer:

If we delete record number 15 in a primary table, but there's still a related table with the value of 15, we end up with an orphaned record. Here, the related table contains a foreign key value that doesn't exist in the primary key field of the primary table. This has resulted in an “orphaned record”.

4 0
3 years ago
John just bought a used iPad from a friend who had lost the charging cable. John notices that the cable is like the charging cab
7nadin3 [17]

Answer:

an iphone charger

Explanation:

5 0
4 years ago
Other questions:
  • The process of converting information, such as text, numbers, photos, or music, into digital data that can be manipulated by ele
    7·1 answer
  • What’s of the following can be used to visually represent information similar to diagrams format painter Helens smart are a clip
    8·1 answer
  • teve wants to use Google Display Ads to reach new customers who are looking to purchase products similar to his. Which audience
    14·1 answer
  • If Phil is putting exact phrases in quotation marks while searching for information, he's using which of the following?
    14·1 answer
  • A RAID structure ____. is primarily used for security reasons is primarily used to ensure higher data reliability stands for red
    14·1 answer
  • Generally, websites ending in .edu, .gov, and .org are less likely to be biased, or to show preference toward a certain financia
    12·1 answer
  • Which statement describes Augmented Reality (AR) technology?
    12·1 answer
  • Puter Science (IS)
    14·1 answer
  • Which of these is NOT a reason for an IP Address?
    15·2 answers
  • A form of encryption that uses only one key to encrypt and decrypt a file. This is a less
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!