How to display image from Microsoft access.
I used a select query statement for it .
OleDbCommand
sqlquery = new OleDbCommand("SELECT * FROM StudentDatabase WHERE AdminNo ='" + TxtAdminNo.Text + "' ", ConnectionString);
OleDbDataReader reader = sqlquery.ExecuteReader();
while (reader.Read())
{
Image2.ImageUrl += reader[9].ToString() +
"";
}
with this code when i debug. The image control gave a cross and inside properties have the same path as \Images\111111A.jpg
Anyone have any idea on what to add on or edit?