|
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.
|