Answered step by step
Verified Expert Solution
Question
1 Approved Answer
hello , i am completely new to c# and sql and i want to connect my database to c# so i watched this video and
hello , i am completely new to c# and sql and i want to connect my database to c# so i watched this video and found it helpful https://youtu.be/V9r-Gp3uNCE but i haven't understood one word of the coding part ( con , costring... )can someone give me a link for beginners to learn such coding?
1 reference public For 10) InitializeComponent ); public string conString "Data Source-SAJJAD-PCUMARSQL; Initial Catalog-ConnectionDb; Integrated Security-T reference private void button1 Click(object sender, EventArgs e) SqlConnection con -new SqlConnection(conString); con.Open(O if (con.State-System.Data.ConnectionState.Open) string q"insert into Test(id, name)values(+txtID.Text. Tostring()+
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started