Save and Retrieve Image files with Path saved in MySql Database and Image File in folder in ASP.Net

Last Reply on Jan 29, 2015 01:44 AM By Azim

Posted on Jan 29, 2015 01:40 AM

hi all help me

i want three fileupload

this my table ,  datbase mysql

id    int

name varchar (30)

file_regulation1 varchar(100)

file_regulation2 varchar(100)

file_regulation3 varchar(100)


i m saving file in folder/path

Posted on Jan 29, 2015 01:44 AM Modified on on Jan 29, 2015 06:06 AM

Please refer this article

Retrieve images using a file path stored in database in ASP.Net

In the above article FileUpload code is also written.

You just need to add 2 more FileUpload controls.

 The above article is for SQL server. You need to make use of MySQL ADO.Net objects. Like MySqlConnection and MySqlCommand etc.

Refer this article to work with MySql

Using MySQL database in ASP.Net Tutorial with example

How to use MySQL Connector in ASP.Net