---
title: "What is the difference between Typed and Untyped Dataset?"  
description: "What is the difference between Typed and Untyped Dataset?"  
author: "MindStick Software Pvt Ltd"  
published: 2019-10-01  
updated: 2020-09-23  
canonical: https://www.mindstick.com/interview/33645/what-is-the-difference-between-typed-and-untyped-dataset  
category: "ado.net"  
tags: ["c#", "ado.net", "asp.net"]  
reading_time: 2 minutes  

---

# What is the difference between Typed and Untyped Dataset?

## The differences are explained below:

**Typed Dataset :** The typed dataset is derived from the Dataset class and has an associated XML schema, which is created at the time of the creation of the dataset. In the XML schema contains information about the dataset structure such as tables, columns, and rows. The data is transferred from a database into a dataset and from the dataset to another component in the XML format.

**Untyped Dataset :** The Untyped dataset doesn’t have an XML schema associated with it. Untyped Dataset, the tables, and columns are represented as a collection.

## Answers

### Answer by MindStick Software Pvt Ltd

## The differences are explained below:

**Typed Dataset :** The typed dataset is derived from the Dataset class and has an associated XML schema, which is created at the time of the creation of the dataset. In the XML schema contains information about the dataset structure such as tables, columns, and rows. The data is transferred from a database into a dataset and from the dataset to another component in the XML format.

**Untyped Dataset :** The Untyped dataset doesn’t have an XML schema associated with it. Untyped Dataset, the tables, and columns are represented as a collection.


---

Original Source: https://www.mindstick.com/interview/33645/what-is-the-difference-between-typed-and-untyped-dataset

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
