i heard there is a data type call blob in mysql to store image,can any one help me in which data type the image should be stored to db, or if any one send a link of a sample project with storing image to mysql using c# , that would be really helpful to me

Recommended Answers

All 2 Replies

Try this links:
http://www.codeproject.com/KB/aspnet/image_asp.aspx

The code written in that article uses OdbcConnection for connection with MySQL.

You can use latest .NET Connector for MySQL, and use the MySql.Data.MySqlClient namespace and change your code appropriately.

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.