---
title: "What are basic methods of Data adapter?"  
description: "What are basic methods of Data adapter?"  
author: "Amit Singh"  
published: 2011-01-31  
updated: 2020-09-16  
canonical: https://www.mindstick.com/interview/346/what-are-basic-methods-of-data-adapter  
category: "ado.net"  
tags: ["ado.net"]  
reading_time: 2 minutes  

---

# What are basic methods of Data adapter?

There are three most commonly used methods of Data adapter:-

\
Fill: - Executes the Select Command to fill the Dataset object with data from the data source. It can also be used to update (refresh) an existing table in a Dataset with changes made to the data in the original data source if there is a primary key in the table in the Dataset.

\
Fill Schema: -Extracts just the schema for a table from the data source, and creates an empty table in the DataSet object with all the corresponding constraints.

\
Update: -Updates the original datasource with the changes made to the content of the DataSet.\

## Answers

### Answer by hanmandlu vasani

There are three most commonly used methods of Data adapter:-

\
Fill: - Executes the Select Command to fill the Dataset object with data from the data source. It can also be used to update (refresh) an existing table in a Dataset with changes made to the data in the original data source if there is a primary key in the table in the Dataset.

\
Fill Schema: -Extracts just the schema for a table from the data source, and creates an empty table in the DataSet object with all the corresponding constraints.

\
Update: -Updates the original datasource with the changes made to the content of the DataSet.\


---

Original Source: https://www.mindstick.com/interview/346/what-are-basic-methods-of-data-adapter

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
