---
title: "How to fetch data from the database in the .Net console application using C#?"  
description: "How to fetch data from the database in the .Net console application using C#?"  
author: "Steilla Mitchel"  
published: 2023-12-04  
updated: 2023-12-04  
canonical: https://www.mindstick.com/forum/160510/how-to-fetch-data-from-the-database-in-the-dot-net-console-application-using-c-sharp  
category: "ado.net"  
tags: ["c#", "ado.net", "asp.net"]  
reading_time: 1 minute  

---

# How to fetch data from the database in the .Net console application using C#?

How to [fetch data](https://www.mindstick.com/forum/158693/how-can-fetch-data-from-a-server-and-dynamically-update-a-webpage-using-jquery) from the [database](https://www.mindstick.com/articles/12226/use-of-database-in-sencha-extjs-and-insert-record-from-user-form-using-ajax) in the .Net [console application](https://www.mindstick.com/forum/158971/how-to-build-a-dot-net-core-console-application-to-output-in-an-exe) using C#?


---

Original Source: https://www.mindstick.com/forum/160510/how-to-fetch-data-from-the-database-in-the-dot-net-console-application-using-c-sharp

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
