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

apache - Add omitted ? to URLs -

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

php - How can I stop spam on my custom forum/blog? -