Saving image into access database
I am trying to save a number, date time and an image to access database using c# application. i have written a function which converts image to base64string format and then i use the function to get image as a string and later save it. I however get an error saying 'argument NULL exception was unhandled'. this error occurs at the following line in the code image.Save(stream, image.RawFormat);* my code is as follows: private void save_Click(object sender, System.EventArgs e) { string oneimg=ImageToBase64String(pictureBox1.Image); string twoimg=ImageToBase64String(pictureBox2.Image); OleDbConnec
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.