Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / NewStats: 3,199,197 members, 7,970,710 topics. Date: Wednesday, 09 October 2024 at 02:14 PM |
Nairaland Forum / Science/Technology / Webmasters / Insert Image Into Mysql (792 Views)
Please How Do I Insert Image Or Screenshot / Help, Cant Insert Data Into MYSQL Database Table / How To Upload An Image Into Mysql Database (2) (3) (4)
(1) (Reply)
Insert Image Into Mysql by leastpay(m): 2:54pm On Jul 21, 2012 |
pls can somebody help in saving and retrieving image to and frm mysql using vb.net .pls don't refer me to google. Thanks |
Re: Insert Image Into Mysql by ultraGM: 8:48pm On Jul 22, 2012 |
OK no Googling NOTE:Dont upload Binary into the DB SOLUTION Write a function that will copy the image in the specified path of the FILE CONTROL. Now When check if the selected file is image/jpeg type or as your valid type may be. Validate the Size. // Wen that is done Call your function to copy the file in the FILE CONTROL to the new PATH you specified. if(the above is done){ INSERT the new file_path INTO your_db_table; Modified: Sorry did i say i know notting about VB.NET } |
(1) (Reply)
How To Get Free 7. 5gig On Mtn Sim / What Is SEO? / I Need Someone To Help Get A Domain Name
(Go Up)
Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health religion celebs tv-movies music-radio literature webmasters programming techmarket Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10) Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 5 |