What is DataTable in ADO.NET?

Updated Apr 28, 2026

Short answer

DataTable represents a single table in memory.

Deep explanation

It stores rows and columns and supports operations like filtering, sorting, and relationships.

Real-world example

Displaying tabular data in UI.

Common mistakes

  • Using for large datasets.

Follow-up questions

  • Difference from DataSet?
  • Can DataTable work offline?

More ADO.NET interview questions

View all →