Hello Experts
Here is my connection string
string con = "Data source =YS-8462BA359936;Initial Catalog = Schooldata;Integrated Security = True";
and my store procedure is
SqlConnection objCon = new SqlConnection(con);
objCon.Open();
SqlCommand cmd = new SqlCommand("Studentinsertadmission", objCon);
cmd.Parameters.Add(new SqlParameter("@Studentid",Convert.ToInt32( studentid.Text)));
cmd.Parameters.Add(new SqlParameter("@StudentName", firstname.Text));
cmd.Parameters.Add(new SqlParameter("@Image", image.image ));
cmd.CommandType = CommandType.StoredProcedure;
int rows = cmd.ExecuteNonQuery();
objCon.Close();
MessageBox.Show("Record Inserted Successfully! ");
But i am not able to load picture in picture box and also save in sql database
Please Solve my Problem
Thanks