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

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

apache - Add omitted ? to URLs -

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