SqlServerDB_dotNET 1.1.1

.NET Framework 4.0
There is a newer version of this package available.
See the version list below for details.
NuGet\Install-Package SqlServerDB_dotNET -Version 1.1.1
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
dotnet add package SqlServerDB_dotNET --version 1.1.1
<PackageReference Include="SqlServerDB_dotNET" Version="1.1.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add SqlServerDB_dotNET --version 1.1.1
#r "nuget: SqlServerDB_dotNET, 1.1.1"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install SqlServerDB_dotNET as a Cake Addin
#addin nuget:?package=SqlServerDB_dotNET&version=1.1.1

// Install SqlServerDB_dotNET as a Cake Tool
#tool nuget:?package=SqlServerDB_dotNET&version=1.1.1

Example: using SqlServerDB;

string server = @"INSTANCE\SQLEXPRESS"; string database = "DEMODB"; string username = "sa"; string password = "";

string connectionString = @"Data Source="+ server + ";Initial Catalog="+ database + "; Trusted_Connection=True;User ID="+ username + ";Password="+ password + ""; DBConnection db_conn = new DBConnection(connectionString);

Console.WriteLine("isConnected: " + db_conn.isConnected()); if (db_conn == null || !db_conn.isConnected()) { Console.WriteLine("Connessione non valida."); return; }

string sql = "SELECT ID, Message FROM Logs ORDER BY IDLic;"; DataTable dtLogs = db_conn.SelectTable(sql);

if (dtLogs == null || dtLogs.Rows.Count == 0) return;

// Loop with the foreach keyword. foreach (DataRow dr in dtLogs.Rows) { Console.WriteLine("Message: " + dr["Message"].ToString().Trim()); }

Product Versions
.NET Framework net40 net403 net45 net451 net452 net46 net461 net462 net463 net47 net471 net472 net48
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
2.0.2 240 2/9/2021
2.0.1 168 2/9/2021
2.0.0 183 2/7/2021
1.3.4 233 12/3/2020
1.3.3 285 11/2/2020
1.3.2 268 10/23/2020
1.3.1 241 10/13/2020
1.3.0 241 10/12/2020
1.2.2 303 10/1/2020
1.2.1 267 9/27/2020
1.2.0 293 9/20/2020
1.1.3 245 8/18/2020
1.1.2 238 8/17/2020
1.1.1 324 8/12/2020
1.1.0 249 8/12/2020
1.0.0 550 12/8/2018

Extensions on the SqlServerDB .NetFramework.