How to get backup and restore in c# windows application sql server, in 2 STEPS

  Рет қаралды 6,438

Safi Tech

Safi Tech

Күн бұрын

Пікірлер: 16
@fahamarahmani7223
@fahamarahmani7223 3 жыл бұрын
where is DB_genral class? please show that class also , don't post incomplete tutorail
@condor1redec
@condor1redec Жыл бұрын
Hello Are you okay I learned a lot from this video, I wanted to take advantage and ask how can it be done to use a progressbar when using the restore and backup buttons? congratulations for the content, top!!👏👏👏👏
@DotNet_Jungle
@DotNet_Jungle 3 ай бұрын
where is DB_Connection class?
@safitech9848
@safitech9848 3 жыл бұрын
-----------Here is the DBGeneral class----------- using System; using System.Collections.Generic; using System.Data; using System.Data.SqlClient; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ProjectName.My_Classes { class DB_General:DB_Connection { public SqlCommand CMD; public DB_General() { CMD = new SqlCommand(); CMD.Connection = conn; } //Insert, Update And Delete... public void general_query(string query) { Open_Connection(); CMD.CommandText = query; CMD.ExecuteNonQuery(); Close_Connection(); } public DataTable MyTable(string query) { Open_Connection(); CMD.CommandText = query; SqlDataAdapter myAdapter = new SqlDataAdapter(CMD); DataTable mytbl = new DataTable(); myAdapter.Fill(mytbl); return mytbl; } } }
@calebsamemmanuel5095
@calebsamemmanuel5095 2 жыл бұрын
Bro! where to enter the connection string
@FarooqAhmad-lr1fx
@FarooqAhmad-lr1fx 2 жыл бұрын
our ye db_connection class kaha hai?
@neimaawais4433
@neimaawais4433 2 жыл бұрын
create folder within ur project named "My_Classes" then create the class inside this folder named"DB_General".
@abhijitchakrabarty4143
@abhijitchakrabarty4143 Жыл бұрын
🎉😅
@omerhazim9717
@omerhazim9717 3 жыл бұрын
well done but where is dbgenral class please
@safitech9848
@safitech9848 3 жыл бұрын
Check the new comment.
@fahamarahmani7223
@fahamarahmani7223 3 жыл бұрын
@@safitech9848 where is the class i can't find it please put that class also
@muhammadafzal237
@muhammadafzal237 3 жыл бұрын
What is myClasses.DbGeneral
@bestchoice3784
@bestchoice3784 2 жыл бұрын
where's db_general
@abdihakimali4937
@abdihakimali4937 3 жыл бұрын
Where is Db_genral bro
@worldfreshnews1267
@worldfreshnews1267 3 жыл бұрын
thank you
@toobariaz8890
@toobariaz8890 3 жыл бұрын
where is db_general?
Who's spending her birthday with Harley Quinn on halloween?#Harley Quinn #joker
01:00
Harley Quinn with the Joker
Рет қаралды 22 МЛН
The IMPOSSIBLE Puzzle..
00:55
Stokes Twins
Рет қаралды 85 МЛН
Человек паук уже не тот
00:32
Miracle
Рет қаралды 3,9 МЛН
Use Excel to Connect to SQL Server Data
13:51
Anthony Smoak
Рет қаралды 114 М.
Backup and Restore SQL SERVER Database using C#
19:59
Coding World
Рет қаралды 18 М.
How to Automatically Update Windows Forms Applications?
9:44
Advanced Installer Powers PacKit FREE
Рет қаралды 21 М.
Solving one of PostgreSQL's biggest weaknesses.
17:12
Dreams of Code
Рет қаралды 212 М.
Learn Microsoft Active Directory (ADDS) in 30mins
36:26
Andy Malone MVP
Рет қаралды 947 М.
Invoice No Generating using  C#.net
16:20
Tutus Funny
Рет қаралды 10 М.
SQL Server Database Backup in C# | Step By Step Tutorial
10:49
Who's spending her birthday with Harley Quinn on halloween?#Harley Quinn #joker
01:00
Harley Quinn with the Joker
Рет қаралды 22 МЛН