How to make automatic browsing to images from database ?-VBForums
Results 1 to 2 of 2

Thread: How to make automatic browsing to images from database ?

  1. #1

    Thread Starter
    Member
    Join Date
    Aug 2016
    Posts
    37

    How to make automatic browsing to images from database ?

    I work in MVC 5 c# in visual studio 2015 web applications

    I have table pictures in SQL server 2012 have two fields

    ID

    Image

    ID have number of image inserted like 1,2,3,4,5

    Image field store picture added

    what i need actually browsing images found in table pictures in database from last image inserted to first in page

    and browsing between every image and another 1 second automatically without using button or scroll

    suppose i have 4 images in database in table pictures

    after page open picture 4 display after 1 second picture 3 display after 1 second picture 2 display after 1 second picture 1 display .

    How i do that please ?

  2. #2

    Re: How to make automatic browsing to images from database ?

    Make an Action ( with id parameter) to retrieve image id from database

    Make in the .cshtml page a https://www.w3schools.com/jsref/met_win_settimeout.asp in order to call the images and display

    Cache the result for better performance

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Featured


Click Here to Expand Forum to Full Width

Survey posted by VBForums.