I'm trying to get an image with a data from a database via SQL and in need of help.
foreach (DataRow dr2 in dt1.Rows) { if (dr2["FIRST_NAME"].ToString() == textBox1.Text | dr2["FIRST_NAME"].ToString() == textBox1.Text) { found = "yes"; pictureBox1.Image = dr2["STUDENTS_PICTURE"].ToString(); } }
1.4m articles
1.4m replys
5 comments
57.0k users