online shopping front page image displaying and retrieving from db

Posted by Aaryan under ASP.NET on 3/15/2012 | Points: 10 | Views : 2209 | Status : [Member] | Replies : 3
I wanna display image and product details in a form.. wanna display for online shopping.. so i need proper format to display




Responses

Posted by: Patel28rajendra on: 3/15/2012 [Member] Starter | Points: 25

Up
0
Down
hi

you should see online shopping websites and eCommerce websites so that you will automatically get the idea

Thanks

R D Patel

Aaryan, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Sksamantaray on: 3/15/2012 [Member] Silver | Points: 25

Up
0
Down
Hi R D Patel
There are different ways to store image in db and view as per requirement:
1.You can keep image directly as an image in sql database and view as and when required
2.You can save image in a folder and keep the name of file in database.While you need to display it ,read the file-name from database and then use the physical path of the file to show it
3.You can store the physical path of the file in database and keep your file in a sub-folder of project, so that you can use Reporting ( and show the image file in Report-Header.

Thanks,
Sanjay

Aaryan, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Denny on: 3/16/2012 [Member] Starter | Points: 25

Up
0
Down
Hi,
You can have a grid view in your form and in the template fields you can have labels and image tools.
Then you need to evaluate each label & image with your db column name.
The best way to store image in db is to store the url as varchar .

Regards,
Denny Kurian

Aaryan, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response