Buy Questpond's video subscriptions on
huge discount
.
Online: 4062
Home
Articles
Interviews
Forums
For Beginners
Popular Questions
ITIL Career Advice
PMP Career Advice
Career Advices
Codes
Videos
ASP.NET
ASP.NET MVC
Android Intel XDK
Sql Server
AngularJS
Bootstrap
Backbone.JS
MongoDB
LESS (CSS)
jQuery
WPF
WWF
SSIS
LightSwitch
Tutorials
News
ASP.NET MVC
|
Be Interview Ready
|
Top Performers
|
DNF MVP
|
Top Posts
|
Winners
|
Subscribe
|
Catalogs
Welcome Guest !
Register
Login
Home
>
Forums
>
ASP.NET
>
Loading ...
changing images dynamicaly from database
Posted by
Tdhivamca
under
ASP.NET
on 11/11/2010 |
Points: 10
| Views : 2183 | Status :
[Member]
| Replies : 1
Write New Post
|
Search Forums
|
Resolved Posts
|
Un Answered Posts
|
Forums Home
I want to dispaly a image it should automatically change images from DB as like a monthly winners of announcement section.
Please give sample how we can do this
-
Dhivakaran T
Reply
|
Reply with Attachment
Alert Moderator
Responses
Posted by:
SheoNarayan
on: 11/11/2010
[Administrator]
HonoraryPlatinum
|
Points: 25
0
There are following steps involved in it.
1. Create an aspx or ashx file that will connect to the database and based on the image id, fetch the image from database and show
2. Write JavaScript code using timer that will replace the src attribute of the img html tag after certain internal. The src should have different image ids so that after every interval a new image will come.
In order to to fetch the image from database, you can take help of this article
http://www.dotnetfunda.com/articles/article63.aspx
, not exactly the same but it will certainly give you an idea at least on how to call the aspx or ashx file and show the image (read the "How to Call" section).
Thanks
Regards,
Sheo Narayan
http://www.dotnetfunda.com
Tdhivamca
, if this helps please
login
to
Mark As Answer
. |
Alert Moderator
Login to post response
Latest Posts
How to get the exact property name while getting error
(0)
PDB file is not showing Line Number in dot net application hosted on server
(0)
Both Strings morethan 5 letters in length end of the words one vowel and one consonent is different
(0)
how to check Any adjacent letters transposed between two strings(ex: JOHN, JHON)
(1)
can't receive data after success login ?
(1)
Implement Multi-Tenant in Azure Logic Apps
(0)
Why ASP.Net Core 7.0 Web API showing as Connection refused?
(0)
Iterating over columns of dataframe and print as rows in Python Django
(0)
More ...