Question
You develop a contact management application that will enable users to retrieve information from a central database. After the data is returned to your application, users must be able to view it, edit it, add new records, and delete existing records. All user changes must then be saved in the database. Your application design requires several ADO.NET object to work together to accomplish these requirements. You use classes from the System.Data and System.Data.OleDb namespaces. First you write the code to connect to the database. Which four actions should you take next? (Each correct answer presents part of the solution. Choose four)

A. Create an OleDbDataAdapter object and define the SelectCommand property.

B. Create an OleDbCommand object and use the ExecuteScalar method.

C. Create a DataTable object as container for the data.

D. Create a DataSet object as a container for the data.

E. Call the DataAdapter.Fill method to populate the DataSet object.

F. Call the DataAdapter.Update method to populate the DataSet object.

G. Call the DataAdapter.Update method to save changes to the database.

H. Call the DataSet.AcceptChanges method to save changes to the database.

Answers



More Software,Management Questions..
What is the inputsplit in map reduce software?

What is software configuration management?

What is the difference between cost accounting, management accounting and financial accounting?

What is channel management?

Explain importance of Brand Management

What Is Java Api For Xml-based Rpc (jax-rpc)?

How can you implement fine-grained auditing?

What is IBM’s simple explanation for Big Data’s four critical features?

What is Ediint ?

What is static synchronized method in JDBC API? Give an example?

What does the NULLIF function do?

What happens if a start method is not invoked and the run method is directly invoked?

Should we override finalize method

what is the difference between mysql_fetch_array and mysql_fetch_object?

How will XML affect my document links?

Why to use Style Sheets?

What are Filters in MVC?

Can you explain Application layer in OSI model?

How to define new testplan attributes?

What are the different types of security services involved in infrastructure management?



Search
Can you Answer!!
  • Q This 1990 case states that a defamatory statement labeled as opinion is not enough to warrant constitutional protection, if the statements imply an assertion of objective fact. (A)New york times co v sullivan (B)Rosenbloom v metromedia inc (C)Milkovich v lorain journal co (D)Philadelphia newspapers inc v hepps (E)Dun and bradstreet inc v greenmoss builders inc
  • Q Ex. of schedule III substances, mostly combo products of CII
  • Q How did you assign priorities to jobs?
  • Q How do you check the file existence and their types in Python?
  • Q What are the key components of the sap employee self service (ess) application?
  • Q A question with argc and argv.Inputfile will be. c:TEMP.EXE Ramco systems India. Outputfile will be. India: I n d i a systems: s y s t e m s Ramco: R a m c o
  • Q What limitations does the demo version of recovery for filemaker have?
  • Q Who released an album entitled The Six Wives of Henry VIII?
  • Q How did you organize your work in your last position? What happened to your plan when emergencies came up?
  • Q Your Tech- Friendly Bank” is the tagline of
  • Q What is an anchoring object and what is its use? What are the various sub events a mouse double click event involves?