Click here to Skip to main content
15,921,028 members
Home / Discussions / ASP.NET
   

ASP.NET

 
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 
GeneralRe: Wordpress Pin
Bradml30-Mar-08 0:33
Bradml30-Mar-08 0:33 
GeneralReporting tool for asp.net Pin
Milind Panchal29-Mar-08 19:10
Milind Panchal29-Mar-08 19:10 
GeneralRe: Reporting tool for asp.net Pin
John-ph29-Mar-08 22:02
John-ph29-Mar-08 22:02 
GeneralStoring server control context in database Pin
Paul McGann29-Mar-08 7:04
professionalPaul McGann29-Mar-08 7:04 
GeneralRe: Storing server control context in database Pin
pmarfleet29-Mar-08 12:28
pmarfleet29-Mar-08 12:28 
QuestionHow to custom function into reportviewer Pin
lav naphade29-Mar-08 6:59
lav naphade29-Mar-08 6:59 

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.