Click here to Skip to main content
15,891,375 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi i am using asp .net
and i have multiple image which is store in data base...
and i want to show these image in form like album...
as we can see in Facebook . (where image popup is show and we can able to move next image....)
how it will done....
plses help me........
Posted
Comments
Sandeep Mewara 22-Apr-11 4:03am    
Make some effort. This is one of the most common question on web and answered number of times.
Monjurul Habib 25-Apr-11 18:02pm    
i do agree !!

you try to study this code:

string sPathImg;
tring strketnoi = "SELECT Path FROM Image ";
SqlCommand sqlcmd = new SqlCommand(strketnoi,sqlconn);
sqlconn.Open();
SqlDataReader sqlread = sqlcmd.ExecuteReader();
while (sqlread.Read())
{
// get the path which contain images
  sPathImg= sqlread.GetString(0);          
}
// code: read all image from this path and add them in to array.
// code: use a button "Next" or button " Back" or use both and a image "imgShow"
// when clicking on button will load a image in array to image "imgShow"


this id my idea, you try it,

gook lucky
 
Share this answer
 
Store image name in DataBase instead of keeping image; and maintain an image folder in your website for those images. You can find lot of free jQuery image sliders

http://www.dynamicdrive.com/dynamicindex14/index.html[^]
 
Share this answer
 
v2
Comments
dilip.aim11 22-Apr-11 4:12am    
i m storing path in database ....
but how i can send this path in jquery to show the image.....

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900