Telthemweb 1.0.13
dotnet add package Telthemweb --version 1.0.13
NuGet\Install-Package Telthemweb -Version 1.0.13
<PackageReference Include="Telthemweb" Version="1.0.13" />
paket add Telthemweb --version 1.0.13
#r "nuget: Telthemweb, 1.0.13"
// Install Telthemweb as a Cake Addin #addin nuget:?package=Telthemweb&version=1.0.13 // Install Telthemweb as a Cake Tool #tool nuget:?package=Telthemweb&version=1.0.13
Telthemweb Database Connection Manager
Telthemweb is a simple, fast, and powerful open-source database manager for the .NET framework. It allows developers to connect to many database providers such as MySQL, SQL Server, SQLite, Oracle, Postgres, and Access Database.
Table of contents
Installation
NuGet\Install-Package Telthemweb -Version 1.0.0
Or Clone it
$ git clone https://github.com/telthemweb/Telthemweblib.git
How to use Telthemweb
After installing, You should set database credentials. To do this Telthemweb come with form to help you with form to enter server name ,database type, username,password and port(optional);
It also encrypt all credentials so that noone will see them
To use form you should first add
TelthemwebLib telthem = new TelthemwebLib(); // IMPORT THIS Using Telthemweb
to use form you simply add this
telthem.telshowConfigurationForm(true) //true to trigger form
This form can also help to create database for you,automatically
Insert Record
//To insert Record into database Table
string sql ="INSERT INTO table(name,surname) VALUES('Innocent','Tauzeni')";
bool result = telthem.TelInsert(sql);
if(result==true){
Console.Write("Success");
}
else{
Console.Write("Fail");
}
Update Record
string sql ="UPDATE table SET name='Telthem',surname='web'";
bool result = telthem.TelUpdate(sql);
if(result==true){
Console.Write("Updated");
}
else{
Console.Write("Fail to update");
}
Retrieve Records
string sql ="SELECT id,name,surnume FROM table";
DataTable results = telthem.TelRetrieve(sql)
Datagrid1.Rows.Clear();
foreach (DataRow row in results.Rows)
{
Datagrid1.Rows.Add(row[0], row[1], row[2]);
}
Delete Record
string sql ="DELETE * FROM table WHERE id=1";
bool result = telthem.TelDelete(sql);
if(result==true){
Console.Write("Deleted");
}
else{
Console.Write("Fail to delete");
}
Check If Record is already Exist
string sql ="SELECT * FROM table WHERE id=1";
bool result = telthem.TelCheckExist(sql);
if(result==true){
Console.Write("Exist");
}
else{
Console.Write("Fail to delete");
}
Encrypt password or anything
var hashpass ="password";
string hashpassword = telthem.TelEncriptHash(hashpass);
Decrypt password or anything
string ecrypedpassword = telthem.TelDecriptHash(ecrypedpassword);
Databases
#Others
Contributing
For any contribution please contact me or whatsapp me at +263 774 914 150 or like Innocent Tauzeni Facebook Page
Special Thanks To
- To you all for choosing our libray
Sponsorship
If you love Telthemweb, you can really help us by sponsoring us.
app.config will have credentils like this
<appSettings>
<add key="databaseType" value="dNO2jZpR67E=" />
<add key="databasename" value="nfF0dqAS3kU=" />
<add key="constring" value="EA6WHnuSMJcLUiLcEvTCqPJsp7ro0WDXLbmmmRXHb7Q1wXVdillzQq7z8FQfjlnRzW8fF9g+SsuZoEcoaQL5WZPjhuX/teWuVdI5UEgSarZCgZMzE1FnWzTLRFrTYAwy2HZPtsm5Ang=" />
<add key="servername" value="rdIYsmwMRDoNoXDpNd0zqA==" />
<add key="serverusername" value="hVHZHhiShRg=" />
<add key="serverpassword" value="MFsawtPUB1ZrvdMlioLrTw==" />
</appSettings>
ALL Information will be encripted
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net472 is compatible. net48 was computed. net481 was computed. |
-
.NETFramework 4.7.2
- 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.
Release notes - Telthemweb - Version 1.0.13
6 issues were resolved in this release.
** Name Conversion issue
We rename CLass Telthemweb to TelthemwebLib.
Sorry for that
**Bugs
We fix Configuration form
-Remove Tel_DatabaseManager
-Fix Cancel Button - You Can close