Saturday, February 20, 2010

MySql Connection String in C#

string str = "server=BITZ;password=tt;uid=root;Initial Catalog=billing";
MySqlConnection cn = new MySqlConnection(str);
cn.Open();

No comments:

Using Authorization with Swagger in ASP.NET Core

 Create Solution like below LoginModel.cs using System.ComponentModel.DataAnnotations; namespace UsingAuthorizationWithSwagger.Models {     ...