What is a dataset ?

A dataset is the local repository of the data used to store the tables and disconnected record set. When using disconnected architecture, all the updates are made locally to dataset and then the updates are performed to the database as a batch.

What is a data adapter ?

A data adapter is the component that exists between the local repository (dataset) and the physical database. It contains the four different commands (SELECT, INSERT, UPDATE and DELETE). It uses these commands to fetch the data from the DB and fill into the dataset and to perform updates done in the dataset to the physical database. It is the data adapter that is responsible for opening and closing the database connection and communicates with the dataset.

What is a database connection?

A database connection represents a communication channel between you application and database management system (DBMS). The application uses this connection to pass the commands and queries to the database and obtain the results of the operations from the database.

What is a database command?

A database command specifies which particular action you want to perform to the database. The commands are in the form of SQL (Structured Query Language). There are four basic SQL statements that can be passed to the database.

SQL SELECT Statement

This query is used to select certain columns of certain records from a database table.

SELECT * from emp

selects all the fields of all the records from the table name ‘emp’

SELECT empno, ename from emp

selects the fields empno and ename of all records from the table name ‘emp’

SELECT * from emp where empno < authorid =" author.authorId" ename ="‘Eric" empno =" 101" empno =" 101" style="font-weight: bold;">RELATED POST

INTERVIEW QUESTIONS ON ADO . NET PART ONE
ADO.NET INTERVIEW QUESTIONS PART THREE

You can go through entire course of DOT NET INTERVIEW QUESTIONS PART ONE AND FRAME WORK AND ASP.NET QUESTIONS HERE.




To Do Next: Thank you for visiting PROGRAMMING BLOG. If you liked the post, please subscribe to my blog via email or RSS FEED.You can contact me here for any specific feed back .

0 comments

Post a Comment