By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
425,534 Members | 1,807 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 425,534 IT Pros & Developers. It's quick & easy.

Display Image from database randomly

P: 5
Please I want know How I can Display Image from database randomly when the web page refresh in Asp.net by C# code
Jun 6 '10 #1
Share this Question
Share on Google+
5 Replies


tlhintoq
Expert 2.5K+
P: 3,525
That's a fairly vague question as far as what part you are having trouble with. It sounds more like "how can I build my entire application?"

Do you need help with how to display an image?
How to save/retreive an image from a database?
How to randomly select from a database?
How to detect when then page refreshes?
Jun 6 '10 #2

P: 5
I Know How to display an image and retrive it from database but I don't know how I can display it randomly when the page refresh
Jun 6 '10 #3

tlhintoq
Expert 2.5K+
P: 3,525
Ok. We're narrowing in on it.
Can you create a method that runs when the page refreshes?
Can you get a list of all the images in your database?
Do you know how to generate a random number?
Jun 6 '10 #4

P: 5
Yes I know How you can Generate Number I think the Generate image like number but with little differences right!!
Thanks for your Cooperation
Safaa Dalloul
Jun 6 '10 #5

P: 5
Now I wanna go to study becuase I have an exam
see you later
Jun 6 '10 #6

Post your reply

Sign in to post your reply or Sign up for a free account.