OleDbCommand and = new OleDbCommand();
c.Open();
and.Connection = c;
and.CommandText = "SELECT * FROM MaleShoes WHERE IDhere=ID ";
OleDbDataReader read = and.ExecuteReader();
while (read.Read())
{
label6.Text = (read[1].ToString());
textBox1.Text = (read[2].ToString());
pictureBox1.Image = (read[3].ToString());
}
c.Close();
このエラーが発生しました:
エラー1タイプ「string」を「System.Drawing.Image」に暗黙的に変換できません
どうすれば修正できますか?
私の写真は私のデータベースの3列目にあります。