Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
salmonraju
Yak Posting Veteran
54 Posts |
Posted - 2007-04-24 : 11:33:55
|
I have two tables one is Category and Products in my databasecategory----------CategoryID CategoryName Picture(image)1 Books 1001000112 Laptops 001010010012nd tableProducts------------ProductID categoryID SmallImage Price Bigimage ProductName1 1 10111010 234 101001001 Java2 1 10101001 342 1011010 C#3 2 101101001 2323 1011001 Lenovanow I have a page that display all the Categeory in a page Say Category.aspxI want those to be displayed as if the way the images are displayedwhile in google image search .When i clicked a particaular image it have to navigated to products.aspxPagethat contains all the products of that category with images(a simple shopping cart application)please help me how to display group of images in google image search fashion from database(how to bind to datalistcontrol) |
|
ACushen
Starting Member
29 Posts |
Posted - 2007-04-26 : 14:03:47
|
You are asking us to do an awful lot of work for you...and you haven't given us sufficient infotmation. Is this image itself stored in the database, or just the path to the image? I can't tell from your post...At any rate, if you want the user to be able to go to another page by clicking on an image, that image needs to be a link with its HREF set to the page you want the user to go to, perhaps with the category passed in the QueryString. It's entirely possible to do this, pulling the URL from the database, but we can't help you without a little more info...-Andrew |
|
|
|
|
|