| | |
Storing image to mysql in c#
Please support our C# advertiser: $4.95 a Month - ASP.NET Web Hosting – Click Here!
![]() |
•
•
Join Date: Jun 2009
Posts: 4
Reputation:
Solved Threads: 1
Hi malik, BLOBs (Binary Large OBjects) are where its at for storing images (and other media) in a database
check out this article for using BLOBs in C#
http://www.c-sharpcorner.com/UploadF...singBlobs.aspx
check out this article for using BLOBs in C#
http://www.c-sharpcorner.com/UploadF...singBlobs.aspx
•
•
Join Date: Jun 2009
Posts: 404
Reputation:
Solved Threads: 79
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.
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.
![]() |
Similar Threads
- How insert image into mysql database and retrieve (PHP)
- Saving mage in a path instead of storing the real image in mysql (PHP)
- How to retrieve image from MySQL(not MS SQL) and show in the <asp:image> control, c# (ASP.NET)
- how to save and retrieve an image using mysql and php (PHP)
- In Mysql Storing and retriving the image with asp.net (MySQL)
- Storing image paths into a mysql db using a php script (PHP)
- problem saving image into mysql database (VB.NET)
- insert image into mysql (Visual Basic 4 / 5 / 6)
Other Threads in the C# Forum
- Previous Thread: opacity control...?
- Next Thread: Creating a Multi-Lingual Website/Application
| Thread Tools | Search this Thread |
.net access algorithm angle array asp.net bitmap box broadcast c# capturing check checkbox client combobox control conversion csharp database databasesearch datagrid datagridview dataset datetime dbconnection degrees delegate design development disappear draganddrop drawing encryption enum eventhandlers excel file firefox form format forms function gdi+ grantorrevokepermissionthroughc#.net image input install interface java libraries list loop marshalbyrefobject math monodevelop mouseclick movingimage msword mysql operator path pause photoshop php picturebox pixelinversion platform post programming radians regex remoting richtextbox server sleep socket sql statistics string study system.servicemodel table tcpclientchannel text textbox thread time timer update usb usercontrol validation virtualization visualbasic visualstudio webbrowser winforms wpf wpfc# xml





