- Q The brands attributes associations that are not unique but similar to some other brands are classified as
- Q What is surrogate Key?
- Q What is a full node?
- Q Identify some of the benefits in integrating the design and manufacturing processes. What are the basic elements that go into making up a robotic cell for a particular application?
- Q What is user defined exception in Java?
- Q What is the difference between data validity and data integrity?
- Q Explain difference between arp and rarp?
- Q You performed a parallel installation of windows xp (home edition) to resolve certain problems on a customer's computer. After installation, the customer says she can see the previous profile folders in documents & settings but when she tries to open then, she gets an "access denied" error. What can you do to remove the "access denied" problem?
- Q What is a conversion constructor c++?
- Q How to insert multiple records at a time?
- Q In chemistry and physics, volatility is the tendency of a substance to what: Explode; Disintegrate; Vaporize; or Smell bad?
Question
You are creating an ASP.NET application using C# that is hosted on your company's Web server. You want to access a database with minimal effort. What should you do?
A. Begin a transaction.
B. Create a connection to the database.
C. Create a data set using an adapter object.
D. Use the data set to display data or to change items in the database.
E. Update the database from the data set.
F. Close the database connection.
G. Check for transaction errors.
- 0
- 0 |
- |
- Post Answer |
- Answers ( 1 )
Answers
Answer: B, C, D, E, F
ADO.NET includes three key components used for most data access: database connection, data adapter, and data set. To access a database, follow these steps:
Create a connection to the database. Create a data set using an adapter object.
Use the data set to display data or to change items in the database. Update the database from the data set. Close the database connection. ADO.NET provides typed data sets. Typed data sets use explicit names and data types that help prevent errors during programming. Your Comment
ADO.NET includes three key components used for most data access: database connection, data adapter, and data set. To access a database, follow these steps:
Create a connection to the database. Create a data set using an adapter object.
Use the data set to display data or to change items in the database. Update the database from the data set. Close the database connection. ADO.NET provides typed data sets. Typed data sets use explicit names and data types that help prevent errors during programming. Your Comment
- 0
- 0
- New Answer
- Contributors: *,
More companies,Software Questions..
What is the inputsplit in map reduce software?
- 0
- 0 |
- |
- Post Answer |
- Answers ( 1 )
- Tags: Software,
What is software configuration management?
- 0
- 0 |
- |
- Post Answer |
- Answers ( 1 )
- Tags: Software,
What Is Java Api For Xml-based Rpc (jax-rpc)?
- 0
- 0 |
- |
- Post Answer |
- Answers ( 1 )
- Tags: Software,
How can you implement fine-grained auditing?
- 0
- 0 |
- |
- Post Answer |
- Answers ( 1 )
- Tags: Software,
What is IBM’s simple explanation for Big Data’s four critical features?
- 0
- 0 |
- |
- Post Answer |
- Answers ( 1 )
- Tags: Software,
What is static synchronized method in JDBC API? Give an example?
- 0
- 0 |
- |
- Post Answer |
- Answers ( 1 )
- Tags: Software,
What does the NULLIF function do?
- 0
- 0 |
- |
- Post Answer |
- Answers ( 1 )
- Tags: Software,
What happens if a start method is not invoked and the run method is directly invoked?
- 0
- 0 |
- |
- Post Answer |
- Answers ( 1 )
- Tags: Software,
Should we override finalize method
- 0
- 0 |
- |
- Post Answer |
- Answers ( 1 )
- Tags: Software,
what is the difference between mysql_fetch_array and mysql_fetch_object?
- 0
- 0 |
- |
- Post Answer |
- Answers ( 1 )
- Tags: Software,
How will XML affect my document links?
- 0
- 0 |
- |
- Post Answer |
- Answers ( 1 )
- Tags: Software,
Why to use Style Sheets?
- 0
- 0 |
- |
- Post Answer |
- Answers ( 1 )
- Tags: Software,
What are Filters in MVC?
- 0
- 0 |
- |
- Post Answer |
- Answers ( 1 )
- Tags: Software,
Can you explain Application layer in OSI model?
- 0
- 0 |
- |
- Post Answer |
- Answers ( 1 )
- Tags: Software,
How to define new testplan attributes?
- 0
- 0 |
- |
- Post Answer |
- Answers ( 1 )
- Tags: Software,
What are the minimum system requirements to run Photoshop? Is it possible to run Photoshop over linux?
- 0
- 0 |
- |
- Post Answer |
- Answers ( 1 )
- Tags: Software,
Which oracle package is used to manage the oracle lock management services?
- 0
- 0 |
- |
- Post Answer |
- Answers ( 1 )
- Tags: Software,
What is Latch Up? Explain Latch Up with cross section of a CMOS Inverter. How do you avoid Latch Up?
- 0
- 0 |
- |
- Post Answer |
- Answers ( 1 )
- Tags: Software,
What is marker interface?
- 0
- 0 |
- |
- Post Answer |
- Answers ( 1 )
- Tags: Software,
What types of partitioning are there for BW?
- 0
- 0 |
- |
- Post Answer |
- Answers ( 1 )
- Tags: Software,