where is DB_genral class? please show that class also , don't post incomplete tutorail
@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_Jungle3 ай бұрын
where is DB_Connection class?
@safitech98483 жыл бұрын
-----------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; } } }
@calebsamemmanuel50952 жыл бұрын
Bro! where to enter the connection string
@FarooqAhmad-lr1fx2 жыл бұрын
our ye db_connection class kaha hai?
@neimaawais44332 жыл бұрын
create folder within ur project named "My_Classes" then create the class inside this folder named"DB_General".
@abhijitchakrabarty4143 Жыл бұрын
🎉😅
@omerhazim97173 жыл бұрын
well done but where is dbgenral class please
@safitech98483 жыл бұрын
Check the new comment.
@fahamarahmani72233 жыл бұрын
@@safitech9848 where is the class i can't find it please put that class also