Click here to Skip to main content
15,884,838 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRetrieve data and display in textbox Pin
guardianhm30-Mar-08 16:55
guardianhm30-Mar-08 16:55 
GeneralRe: Retrieve data and display in textbox Pin
N a v a n e e t h30-Mar-08 19:34
N a v a n e e t h30-Mar-08 19:34 
QuestionSecurity / authentication etc Pin
mcrooks30-Mar-08 12:45
mcrooks30-Mar-08 12:45 
GeneralRe: Security / authentication etc Pin
CooperWu30-Mar-08 18:54
CooperWu30-Mar-08 18:54 
Questionadding files for download Pin
mcrooks30-Mar-08 10:17
mcrooks30-Mar-08 10:17 
GeneralRe: adding files for download Pin
CooperWu30-Mar-08 18:52
CooperWu30-Mar-08 18:52 
GeneralRe: adding files for download Pin
farazsk1130-Mar-08 22:09
farazsk1130-Mar-08 22:09 
QuestionBind File to Record in the Database Pin
Muhammad Gouda30-Mar-08 2:41
Muhammad Gouda30-Mar-08 2:41 
In my page, the visitor will fill in a form and can upload a file.
I do not need to save the file itself to the database, rather I save the file to a folder on the server with a reference in my table.
The Problem is:
if more than one file with the same name and extension were uploaded, each one will overwrite the older one
I have 2 solutions of my own:
1- I can create a sub-folder with a name same as the primary key of the record this file belongs to. and upload the file to that sub-folder
2- I can append the primary key as a prefex to the file name

But, I think this problem has more smart solution that I faild to find by google or even in codeproject articles

Mohammed Gouda
foreach(Minute m in MyLife)
myExperience++;

GeneralRe: Bind File to Record in the Database Pin
outside cosmic30-Mar-08 3:42
outside cosmic30-Mar-08 3:42 
GeneralRe: Bind File to Record in the Database Pin
farazsk1130-Mar-08 22:13
farazsk1130-Mar-08 22:13 
GeneralRe: Bind File to Record in the Database Pin
Muhammad Gouda30-Mar-08 22:24
Muhammad Gouda30-Mar-08 22:24 
GeneralRe: Bind File to Record in the Database Pin
farazsk1130-Mar-08 22:42
farazsk1130-Mar-08 22:42 
GeneralRe: Bind File to Record in the Database Pin
Muhammad Gouda31-Mar-08 3:21
Muhammad Gouda31-Mar-08 3:21 
GeneralRe: Bind File to Record in the Database Pin
farazsk1131-Mar-08 7:17
farazsk1131-Mar-08 7:17 
Questiondiv expand in master page [modified] Pin
ksaw12329-Mar-08 23:15
ksaw12329-Mar-08 23:15 
GeneralRe: div expand in master page Pin
jonhbt30-Mar-08 0:37
jonhbt30-Mar-08 0:37 
QuestionRe: div expand in master page Pin
ksaw12330-Mar-08 4:43
ksaw12330-Mar-08 4:43 
GeneralRe: div expand in master page Pin
Mitch F.31-Mar-08 8:39
Mitch F.31-Mar-08 8:39 
QuestionDIV locations Pin
jonhbt29-Mar-08 21:00
jonhbt29-Mar-08 21:00 
GeneralRe: DIV locations [modified] Pin
Mitch F.29-Mar-08 21:53
Mitch F.29-Mar-08 21:53 
QuestionRe: DIV locations Pin
jonhbt30-Mar-08 0:35
jonhbt30-Mar-08 0:35 
GeneralRe: DIV locations Pin
Mitch F.30-Mar-08 9:58
Mitch F.30-Mar-08 9:58 
QuestionRe: DIV locations Pin
jonhbt30-Mar-08 20:16
jonhbt30-Mar-08 20:16 
GeneralRe: DIV locations Pin
Mitch F.31-Mar-08 8:35
Mitch F.31-Mar-08 8:35 
QuestionWordpress Pin
Smith#29-Mar-08 19:28
Smith#29-Mar-08 19:28 

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.