---
title: "What is  connection string in ADO.NET?"  
description: "What is  connection string in ADO.NET?"  
author: "Ethan Karla"  
published: 2021-07-07  
updated: 2021-07-07  
canonical: https://www.mindstick.com/forum/156480/what-is-connection-string-in-ado-dot-net  
category: "ado.net"  
tags: ["ado.net", "database connection"]  
reading_time: 1 minute  

---

# What is  connection string in ADO.NET?

What is the [role](https://yourviews.mindstick.com/audio/1254/the-role-of-visualization-in-achieving-your-goals) of [Connection String](https://www.mindstick.com/articles/328/connection-strings) in [ADO.NET](https://www.mindstick.com/articles/804/connection-pooling-in-ado-dot-net)? Why we use it?

## Replies

### Reply by Anonymous User

**[Connection](https://www.mindstick.com/articles/13012/what-makes-ethernet-connection-better-than-wifi) [String](https://www.mindstick.com/articles/1527/string-split-in-c-sharp)** are the normal string representation which contains the database connection information to connect it with application to the database to perform the CRUD operation. Database String includes parameters such as the name of the Server, Database name, Driver, Port as well as security credentials to connect with database such as Username and password.

Data Providers uses connection string with a collection of arguments to connect with the database through applications. Usually .NET Framework provides mainly three data providers :

1.) Microsoft SQL Server

2.) OLEDB

3.) ODBC


---

Original Source: https://www.mindstick.com/forum/156480/what-is-connection-string-in-ado-dot-net

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
