requete
while (exec.Read())
{
rtbDescription.Text = exec.GetValue(4).ToString();
txtNomArtiste.Text = procedures.formatageMots(exec.GetValue(0).ToString());
nomArtiste = procedures.formatageMots(exec.GetValue(0).ToString());
pictArtiste.BackgroundImage = new Bitmap(exec.GetValue(3).ToString());
pictArtiste.BackgroundImageLayout = ImageLayout.Stretch;
cbGenre.SelectedItem = procedures.formatageMots(exec.GetValue(1).ToString());
cbLangue.SelectedItem = procedures.formatageMots(exec.GetValue(2).ToString());
} |