hi all i want to insert an image into mysql database
using stored procedure, i need to pass the image from c# plz help me

Save the image in the database as type BLOB
and Load the image file and read the file into a variable using file_get_contents() or similar

but best way is not to save image directly in Database rather save location or assign UUID to a image and save it to disk
so when u recall you can go and pick the image instead of regenerating image from pixels

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.