Reply
Populate A Placeholder For An Image From Database
Old 09-29-2009, 01:58 PM Populate A Placeholder For An Image From Database
mb2000inc's Avatar
Super Talker

Posts: 118
Name: Mark
Location: Ohio
Trades: 0
Ok, so I'm toying around with the idea that I want to create a social network from scratch. (look forward to many posts from me)

Right now, I'm just mapping out the functionality and not really writing code, yet. So, the first order of business is to try to populate a user's profile page with their image and some other bio stuff.

What I truly want to do is have an image placeholder that populates with the appropriate image stored in the database and will be called when a user clicks on a link that directs them to the selected user's homepage. How do I populate that placeholder with the appropriate image?

1) would I use <asp:img>?
2) would I use <asp : Placeholder>?
3) how do I pass that parameter? (typical query string?)
4) in the codebehind, (pagename.aspx.vb) would I create a function that pulls the info from the database (pageload event)
5) What about telling the placeholder what image name and location to use.
6) how would that look on the front end? (<asp : Placeholder id="...." otherinfo="...">)
__________________
Need a vacation.
mb2000inc is offline
Reply With Quote
View Public Profile Visit mb2000inc's homepage!
 
 
When You Register, These Ads Go Away!
Reply     « Reply to Populate A Placeholder For An Image From Database
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 



Page generated in 0.09895 seconds with 13 queries