string strSql = "SELECT u_photo FROM UserInfo WHERE id = '"+ id +"'";
myConnection.Open();
myCommand = new OleDbCommand( strSql , myConnection );
myReader = myCommand.ExecuteReader();
if ( myReader.Read() )
{
byte[] btImage = ( byte[] )myReader["u_photo"];
MemoryStream memoryStream = new MemoryStream();
memoryStream.Write( btImage, 0, btImage.Length );
pictureBox.Image = new Bitmap( memoryStream );
}
"binbin" <anon...@discussions.microsoft.com> wrote in message
news:75D9A16B-3AFD-4CD5...@microsoft.com...
>