数据库中的产品图片 [英] product images from database
本文介绍了数据库中的产品图片的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
你好,我在数据库中有产品表和image列,现在我有另一个表与该产品相关联的图像,
i想要制作apage,显示来自该产品的图像除了该产品的描述旁边的数据库,是否有任何java脚本或jquery框从数据库中捕获图像?
hello , i have product table in the data base with image column , now i have another table to the images that is associated with that product ,
i want to make apage that show that images from the database beside the description of that product , is there any java script or jquery box that capture that images from database ?
推荐答案
JavaScript ?!算了吧;真是个坏主意。你真的需要在服务器端使用ADO.NET来实现它:
http:// en .wikipedia.org / wiki / ADO.NET [ ^ ],
http://msdn.microsoft.com/en -us / library / aa286484.aspx [ ^ ]。
您会在CodeProject上找到很多关于如何处理图像的资料。只是做一些搜索。如果您遇到一些特殊问题,欢迎提出问题,但需要更具体。
祝你好运,
-SA
JavaScript?! Forget it; really a bad idea. You really need to do it on server-side using ADO.NET:
http://en.wikipedia.org/wiki/ADO.NET[^],
http://msdn.microsoft.com/en-us/library/aa286484.aspx[^].
You will find a lot of material on CodeProject explaining how to work with images. Just do some search. If you face some of particular problems, you are welcome to ask a question, but you need to be more specific.
Good luck,
—SA
这篇关于数据库中的产品图片的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文