c# - How to store an image into database -


how can use openfiledialog , picturebox , upload image , store sql server

you need keep field datatype varbinary(max) in database table. convert image byte array. pass byte array parameter respect varbinary field. saved in database. while retrieving, value database byte array convert image object. hope sequence helps you. or more code example can find here


Comments

Popular posts from this blog

c# - IMAP GMAIL getting folder list problem -

PHP proxy to get XML: problem with URL arguments -