View previous topic :: View next topic |
Author |
Message |
Hellfire Rated XXX
Joined: 05 Aug 2003 Posts: 3473
|
|
Back to top |
|
|
Little Bruin
Boo Boo
Joined: 07 Apr 2003
Posts: 667
Location: Pic-A-Nic Basket |
|
|
IceNine *The Freshest*
Joined: 08 Sep 2003 Posts: 1459 Location: Bel Air
|
Posted: Wed, 23 Feb 2005 12:58:03 Post Subject: |
|
|
I know very little about ASP, but I've done this in PHP. When I looked it up, I saw that you need to do more with the file upload:
Code: | FileInfo fi = new
FileInfo( file1.PostedFile.FileName );
Attachment a = new Attachment( file1.PostedFile.InputStream, fi.Name );
a.ContentType = file1.PostedFile.ContentType;
msg.AddAttachment( a ); |
Hope this helps!
_________________
A letter to a soldier |
|
Back to top |
|
|
Hellfire Rated XXX
Joined: 05 Aug 2003 Posts: 3473
|
Posted: Wed, 23 Feb 2005 13:12:16 Post Subject: |
|
|
Hopefully I can figure that out
Can't wait for them to finally get around to sending me to actually learn ASP/.NET! Expect me to do some coding in it but I am no where near knowledable enough to do it! LOL
Thanks
|
|
Back to top |
|
|
IceNine *The Freshest*
Joined: 08 Sep 2003 Posts: 1459 Location: Bel Air
|
Posted: Wed, 23 Feb 2005 13:23:30 Post Subject: |
|
|
If you have to make a choice between VB.Net and C# - You should definitely go with C#! It's a much newer and more extensible language. It's also more widely adopted for other programming (not just web development).
Have fun!
_________________
A letter to a soldier |
|
Back to top |
|
|
Hellfire Rated XXX
Joined: 05 Aug 2003 Posts: 3473
|
Posted: Wed, 23 Feb 2005 13:31:49 Post Subject: |
|
|
Yea, I'd like to go C# but as they only want people to do HTML for the Intranet, I'm already pushing it with my site being based on a ASP.NET portal LOL
Thankfully I knew people in the other branches that was able to go with .NET so I went around the Mortgage system to get to .NET LOL My IT group really hates me...
|
|
Back to top |
|
|
BeerCheeze *hick*
Joined: 14 Jun 2003 Posts: 9285 Location: At the Bar
|
|
Back to top |
|
|
IceNine *The Freshest*
Joined: 08 Sep 2003 Posts: 1459 Location: Bel Air
|
Posted: Wed, 23 Feb 2005 13:46:21 Post Subject: |
|
|
My main beef with ASP.Net is that most (if not all) code samples have the application code embedded greatly in the display logic. There are ways to do it otherwise, however it's more of a chore than should be necessary.
_________________
A letter to a soldier |
|
Back to top |
|
|
Little Bruin
Boo Boo
Joined: 07 Apr 2003
Posts: 667
Location: Pic-A-Nic Basket |
|
|
|