Search
 
SCRIPT & CODE EXAMPLE
 

CSHARP

c# connection string

"ConnectionStrings": {
    "DefaultConnection": "Server=DESKTOP-V4RQQ32SQLEXPRESS;Database=SchoolManagementDB;Trusted_Connection=True;"
  },
Comment

c# connection string


using System.Data.SqlClient;

SqlConnection conn = new SqlConnection();
conn.ConnectionString =
  "Data Source=ServerName;" +
  "Initial Catalog=DataBaseName;" +
  "User id=UserName;" +
  "Password=Secret;";
conn.Open();

Comment

PREVIOUS NEXT
Code Example
Csharp :: check if string is a guid c# 
Csharp :: set active text unity 
Csharp :: contains with ignore case c# 
Csharp :: unity url 
Csharp :: How To Copy a text C# unity 
Csharp :: assign datasource to dropdownlist in c# 
Csharp :: c# array last element 
Csharp :: Base64String to stream c# 
Csharp :: game object disapear after transform.position 
Csharp :: how to usefor loop in c# 
Csharp :: how to make a game 
Csharp :: how to copy a file in c# 
Csharp :: How can I make an action repeat every x seconds with Timer in C#? 
Csharp :: c# square every digit of a number 
Csharp :: unity length of string 
Csharp :: unity how to rotate something to point to something else 
Csharp :: how to make a partical system to destroy itself after it finishing 
Csharp :: c# open file 
Csharp :: struct constructor c# 
Csharp :: convert object to xml c# example code 
Csharp :: add admin priviledge to c# program 
Csharp :: data table rename column c# 
Csharp :: c# rename file add 
Csharp :: c# sql duplicate key exception 
Csharp :: c# string to enum 
Csharp :: increase variable C# 
Csharp :: c# convert object to string 
Csharp :: get directory of file c# 
Csharp :: remove carriage returns from string c# 
Csharp :: pyqt qtableview get selected row data 
ADD CONTENT
Topic
Content
Source link
Name
2+8 =