Click here to Skip to main content
16,004,828 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: How to call page directives Pin
dj.rock6-Nov-06 18:08
dj.rock6-Nov-06 18:08 
GeneralRe: How to call page directives Pin
Sam.M6-Nov-06 18:53
Sam.M6-Nov-06 18:53 
QuestionBased on Javascript Pin
sudidelaravindra6-Nov-06 17:38
sudidelaravindra6-Nov-06 17:38 
AnswerRe: Based on Javascript Pin
RichardGrimmer7-Nov-06 5:48
RichardGrimmer7-Nov-06 5:48 
QuestionEditable DropDownList Pin
manish246-Nov-06 17:24
manish246-Nov-06 17:24 
QuestionDynamically adding webpart properties Pin
robert1106-Nov-06 16:17
robert1106-Nov-06 16:17 
QuestionCreating a folder for a user when they register Pin
sp2774036-Nov-06 13:51
sp2774036-Nov-06 13:51 
AnswerRe: Creating a folder for a user when they register Pin
Britney S. Morales7-Nov-06 2:24
Britney S. Morales7-Nov-06 2:24 
Sthepanie i faced the same problem and at the end i had to make my own solution, and i will write it for you, i hope you can understand the next lines, im not good to explain.

Onto dataBase you must to create three tables, they are users, images, and the relation images_owner.

for Example:

Users images_owner images
coduser (pk) codrelation codimage (pk)
nomuser coduser urlimage
codimage

You already have a folder to save all the images, right here you must to create a particular folder for every user, in another words you created the user, created the folder. (use the coduser like folder's name)

the sentence to create the folder is:

DirectoryInfo di = Directory.CreateDirectory(url);

Invoice the System.IO library to create server folders.


Right now you must to have this folder

allImages/coduser

You can update your images for any particular user, when the user login in the site, write a session var with the coduser code, and every time that you upload a picture (fileupload control)
fill the relation table image owner and save the image onto particular user folder with the codimage like name.

To show the image select all the codimage from image owner where the coduser is the session user code.


Wink | ;)



keep Learning and you never will be out of date...

Questionvs2005 page inheritance and general oddities Pin
Guy Harwood6-Nov-06 10:17
Guy Harwood6-Nov-06 10:17 
AnswerRe: vs2005 page inheritance and general oddities Pin
minhpc_bk6-Nov-06 13:53
minhpc_bk6-Nov-06 13:53 
GeneralRe: vs2005 page inheritance and general oddities Pin
Guy Harwood7-Nov-06 4:07
Guy Harwood7-Nov-06 4:07 
QuestionConnectionString Problem!!! Pin
immori6-Nov-06 10:15
immori6-Nov-06 10:15 
QuestionSending Email through my ASP.NET application. Pin
victor_sinha6-Nov-06 6:50
victor_sinha6-Nov-06 6:50 
AnswerRe: Sending Email through my ASP.NET application. Pin
RichardGrimmer6-Nov-06 7:09
RichardGrimmer6-Nov-06 7:09 
QuestionConnection String Problem Pin
shapper6-Nov-06 6:32
shapper6-Nov-06 6:32 
AnswerRe: Connection String Problem Pin
Guffa6-Nov-06 9:42
Guffa6-Nov-06 9:42 
QuestionDefining master page in web.config file Pin
koleraba6-Nov-06 6:30
koleraba6-Nov-06 6:30 
AnswerRe: Defining master page in web.config file Pin
ednrgc6-Nov-06 9:24
ednrgc6-Nov-06 9:24 
GeneralRe: Defining master page in web.config file Pin
koleraba6-Nov-06 10:41
koleraba6-Nov-06 10:41 
GeneralRe: Defining master page in web.config file Pin
koleraba6-Nov-06 11:23
koleraba6-Nov-06 11:23 
Questiondate validation Pin
dhatchu6-Nov-06 6:10
dhatchu6-Nov-06 6:10 
AnswerRe: date validation Pin
ednrgc6-Nov-06 9:25
ednrgc6-Nov-06 9:25 
QuestionLinking style sheet to master page question Pin
dustin106-Nov-06 5:42
dustin106-Nov-06 5:42 
AnswerRe: Linking style sheet to master page question Pin
sp2774036-Nov-06 13:58
sp2774036-Nov-06 13:58 
GeneralRe: Linking style sheet to master page question Pin
dustin106-Nov-06 14:04
dustin106-Nov-06 14:04 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.