One special place in Northwind

xiaoxiao2021-03-06  82

Usually the steps we want to display the images stored in the database, first to read binary data from the database. Assigning these data to one byte data, then read the byte data to the memory stream, and then convert into a picture through the fromstream method of the Image object. Finally, give the picture box.

However, for the photo field in the Employees table in the Northwind database, it seems that this method is powerless. In fact, it is not our way. But because the top 78 fields before this field is not the data of the picture. So we only skip these data, you can display these data normally.

?

转载请注明原文地址:https://www.9cbs.com/read-122566.html

New Post(0)