|
Ask a question about WINFORM, the database is mysql,
1 For example, a picture in the picturebox control in my program
I want to insert the product name, product model, and product quantity into a record in the database
Can it be achieved with a sql statement? I heard that it is not possible,
Is there any source code that can be referred to? This is the problem of writing the picture to the database
2 Then there is the problem of reading the picture from the database, which is the previous problem
In the opposite process, a record is read from the database. This record includes
Product name, product model, product quantity, product picture,
How can I read the field of this picture, and then in the picturebox control in the program
show,
Please give advice from an enthusiastic master |
|