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

jQuery clickable div with working mailto link inside -

java - Getting corefrences with Standard corenlp package -

WPF: binding viewmodel property of type DateTime to Calendar inside ItemsControl -