You can save the image directly from its path (you already have it).
Try the following:
byte[] img = File.ReadAllBytes("your image path"); mySqlCommand = "INSERT INTO MyTable(Image) VALUES(@Image)";//mySqlCommand is a SqlCommand, and @Image is a parameter mySqlCommand.Parameters.AddWithValue("@Image", img); mySqlCommand.ExecuteNonQuery();
source share