Issue with connecting to sql database from visual studio : I've created a simple windows forms application in C# and now find it hard to connect it to an SQL database. I've created the database within visual studio itself. However, once I try to insert data I get an SQL exeption. My guess is there is problem in the connection data source i.e the con varirable. Please help me find a solution.
  
        SqlConnection con = new SqlConnection("Data Source=DESKTOP-386S9BF/Shenal Burkey;Initial Catalog=Sample;Integrated Security=true;");
        SqlCommand cmd;
        SqlDataAdapter adapt;


        if (textBox1.Text != "" && textBox2.Text != "" && textBox3.Text != "")
            {
                cmd = new SqlCommand("insert into [dbo].[user] (Id,username,password) values(@id,@name,@state)", con);
                con.Open();
                cmd.Parameters.AddWithValue("@id", textBox1.Text);
                cmd.Parameters.AddWithValue("@name", textBox2.Text);
                cmd.Parameters.AddWithValue("@state", textBox3.Text);
                cmd.ExecuteNonQuery();
                con.Close();
                MessageBox.Show("Record Inserted Successfully");
            }
            else {
                MessageBox.Show("Please Provide Details!");
            }

the database file name is \WindowsFormsApplication1\WindowsFormsApplication1\Database1.mdf
