Click here to Skip to main content
15,915,094 members
Home / Discussions / C#
   

C#

 
QuestionPasswing a control as parameter Pin
Brendan Vogt12-Mar-06 19:47
Brendan Vogt12-Mar-06 19:47 
QuestionHow to handle attachment in web Pin
dabuskol12-Mar-06 19:13
dabuskol12-Mar-06 19:13 
Hi,
I created a web page program which can upload attachment.
My concern is the correct way to handle attachment in web.

What I am doing right now is if the user CLICK the ATTACHMENT BUTTON but not yet pressing the SUBMIT BUTTON (which is save) I am inserting the current information in my first table with a Temporary key in order for me to have a referrence in my Attachment File. Once the user Click the Attach Button in the ATTACH PAGE I will save the files in the attach table with the temporary key.

Once everyting is complete when the user CLICK the SUBMIT BUTTON I update both the temporary key to the STANDARD key.
Is what I am doing is correct?

BEFORE PRESSING SUBMIT BUTTON - USER CLICK ATTACHMENT BUTTON FROM MAIN PAGE
MainTable
Key = "tmp1"
User= "TestUser"
Information = "Test Information"
date = Datetime.Now;

AttachTable
Key = "tmp1"
User= "TestUser"
AttachFile= "test.xls"
date = Datetime.Now;


USER PRESSED SUBMIT BUTTON
MainTable
FROM Key = "tmp1"
NEW Key = "06030001"
User= "TestUser"
Information = "Test Information"
date = Datetime.Now;

AttachTable
FROM Key = "tmp1"
NEW Key = "06030001"
User= "TestUser"
AttachFile= "test.xls"
date = Datetime.Now;
QuestionShowing HTML table in Winform Control Pin
Mukesh Kumar Gupta12-Mar-06 17:54
Mukesh Kumar Gupta12-Mar-06 17:54 
AnswerRe: Showing HTML table in Winform Control Pin
J. Dunlap12-Mar-06 18:05
J. Dunlap12-Mar-06 18:05 
GeneralRe: Showing HTML table in Winform Control Pin
Mukesh Kumar Gupta12-Mar-06 19:13
Mukesh Kumar Gupta12-Mar-06 19:13 
QuestionLoad report failed Pin
abja12-Mar-06 17:48
abja12-Mar-06 17:48 
QuestionAnnoying new code folding feature in Sharpdevelop 2.0 Pin
Allah On Acid12-Mar-06 15:42
Allah On Acid12-Mar-06 15:42 
QuestionStatus Bar Pin
Sean8912-Mar-06 14:44
Sean8912-Mar-06 14:44 
AnswerRe: Status Bar Pin
jklucker12-Mar-06 15:16
jklucker12-Mar-06 15:16 
GeneralRe: Status Bar Pin
Sean8912-Mar-06 16:06
Sean8912-Mar-06 16:06 
AnswerRe: Status Bar Pin
mcljava12-Mar-06 15:38
mcljava12-Mar-06 15:38 
QuestionhDC problem Pin
IceWater4212-Mar-06 14:35
IceWater4212-Mar-06 14:35 
AnswerRe: hDC problem Pin
DigitalKing12-Mar-06 15:33
DigitalKing12-Mar-06 15:33 
AnswerRe: need help!! Pin
Steve Pullan12-Mar-06 13:24
Steve Pullan12-Mar-06 13:24 
GeneralRe: need help!! Pin
JulietPlando12-Mar-06 14:39
JulietPlando12-Mar-06 14:39 
GeneralRe: need help!! Pin
Steve Pullan12-Mar-06 15:00
Steve Pullan12-Mar-06 15:00 
Questionhow can i get the ip addres of host on windows application Pin
sa_keles12-Mar-06 12:55
sa_keles12-Mar-06 12:55 
AnswerRe: how can i get the ip addres of host on windows application Pin
Steve Pullan12-Mar-06 13:21
Steve Pullan12-Mar-06 13:21 
GeneralRe: how can i get the ip addres of host on windows application Pin
sa_keles12-Mar-06 13:36
sa_keles12-Mar-06 13:36 
AnswerRe: how can i get the ip addres of host on windows application Pin
mcljava12-Mar-06 14:17
mcljava12-Mar-06 14:17 
GeneralRe: how can i get the ip addres of host on windows application Pin
sa_keles12-Mar-06 15:30
sa_keles12-Mar-06 15:30 
AnswerRe: how can i get the ip addres of host on windows application Pin
jklucker12-Mar-06 15:28
jklucker12-Mar-06 15:28 
GeneralRe: how can i get the ip addres of host on windows application Pin
sa_keles12-Mar-06 15:34
sa_keles12-Mar-06 15:34 
GeneralRe: how can i get the ip addres of host on windows application Pin
sa_keles13-Mar-06 13:03
sa_keles13-Mar-06 13:03 
Questioncannot load image from desktop Pin
deepak112-Mar-06 12:22
deepak112-Mar-06 12:22 

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.