Answered step by step
Verified Expert Solution
Link Copied!

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?

image text in transcribed

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Hands-On Database

Authors: Steve Conger

2nd Edition

0133024415, 978-0133024418

More Books

Students also viewed these Databases questions

Question

7. How might you go about testing these assumptions?

Answered: 1 week ago