Click here to Skip to main content
15,877,446 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Page Refresh Question Pin
Tom Delany23-Dec-08 7:35
Tom Delany23-Dec-08 7:35 
GeneralRe: Page Refresh Question Pin
ToddHileHoffer23-Dec-08 8:05
ToddHileHoffer23-Dec-08 8:05 
GeneralRe: Page Refresh Question Pin
Tom Delany23-Dec-08 10:33
Tom Delany23-Dec-08 10:33 
GeneralRe: Page Refresh Question Pin
ToddHileHoffer23-Dec-08 14:32
ToddHileHoffer23-Dec-08 14:32 
GeneralRe: Page Refresh Question Pin
Tom Delany29-Dec-08 10:04
Tom Delany29-Dec-08 10:04 
GeneralRe: Page Refresh Question Pin
Guffa30-Dec-08 10:01
Guffa30-Dec-08 10:01 
Questiondetailsview problem need help Pin
dream_liner_7e723-Dec-08 6:38
dream_liner_7e723-Dec-08 6:38 
QuestionMultiPart/Form-Data Pin
hammerstein0523-Dec-08 6:34
hammerstein0523-Dec-08 6:34 
I'm trying to perform an upload to an ASP.NET webpage from a handheld device. I'm building a request and posting it and the file is getting up to the server, and it's the correct length. However, it can't be opened. I'm encoding using ASCII as when I do using UTF8, the file is not the correct size. If I run the form from the page, the file uploads perfectly. My request looks like;

--8cb3310dd4ceed9
Content-Disposition: form-data; name="__VIEWSTATE"

/wEPDwULLTE2OTYyNjE1OTVkZMfpfFSzt/YF7vZvjpHY4Ap3YSYj
--8cb3310dd4ceed9
Content-Disposition: form-data; name="__EVENTVALIDATION"

/wEWAwL++b/LAQKpya/eBQLc7/3IC+cHmY1+N1ZM0CEeEny3NKie7uiu
--8cb3310dd4ceed9
Content-Disposition: form-data; name="upload_id"

2321
--8cb3310dd4ceed9
Content-Disposition: form-data; name="databaseFile"; filename="database.sdf"
Content-Type: application/octet-stream
Content-Transfer-Encoding: binary
Content-Length: 3395584

? ?

If I don't put the file in, I can see the rest of my request, and it ends with;

--8cb3310dd4ceed9--

What encoding should I be using, and how should I be including the file. I've been searching for about 6 hours, looking at examples and can't see what I'm doing wrong. I'm posting this in ASP.NET rather than C# on the assumption that it's more web-based. I don't want to double post, so here's hoping this is the right area.
QuestionHow to share NETCOBOL dll in .NET Framework2.0/3.5 in windows server 2003. Pin
kkb_200123-Dec-08 3:55
kkb_200123-Dec-08 3:55 
AnswerRe: How to share NETCOBOL dll in .NET Framework2.0/3.5 in windows server 2003. Pin
Christian Graus23-Dec-08 7:57
protectorChristian Graus23-Dec-08 7:57 
GeneralRe: How to share NETCOBOL dll in .NET Framework2.0/3.5 in windows server 2003. Pin
kkb_200123-Dec-08 21:30
kkb_200123-Dec-08 21:30 
QuestionDataGrid paging + SqlDataSource Pin
Blumen23-Dec-08 3:49
Blumen23-Dec-08 3:49 
AnswerRe: DataGrid paging + SqlDataSource Pin
ToddHileHoffer23-Dec-08 4:46
ToddHileHoffer23-Dec-08 4:46 
GeneralRe: DataGrid paging + SqlDataSource Pin
Blumen24-Dec-08 3:08
Blumen24-Dec-08 3:08 
GeneralRe: DataGrid paging + SqlDataSource Pin
ToddHileHoffer24-Dec-08 4:07
ToddHileHoffer24-Dec-08 4:07 
Questionmasterpage code Pin
gopinagam23-Dec-08 3:15
gopinagam23-Dec-08 3:15 
AnswerRe: masterpage code Pin
Abhijit Jana23-Dec-08 3:25
professionalAbhijit Jana23-Dec-08 3:25 
Questionhow to set Title Page Dynamically in Master Page? Pin
mr_muskurahat23-Dec-08 2:02
mr_muskurahat23-Dec-08 2:02 
AnswerRe: how to set Title Page Dynamically in Master Page? Pin
Abhijit Jana23-Dec-08 2:11
professionalAbhijit Jana23-Dec-08 2:11 
AnswerRe: how to set Title Page Dynamically in Master Page? Pin
Brij23-Dec-08 2:16
mentorBrij23-Dec-08 2:16 
GeneralRe: how to set Title Page Dynamically in Master Page? Pin
mr_muskurahat23-Dec-08 2:33
mr_muskurahat23-Dec-08 2:33 
GeneralRe: how to set Title Page Dynamically in Master Page? Pin
Brij23-Dec-08 2:37
mentorBrij23-Dec-08 2:37 
GeneralRe: how to set Title Page Dynamically in Master Page? Pin
mr_muskurahat23-Dec-08 2:43
mr_muskurahat23-Dec-08 2:43 
GeneralRe: how to set Title Page Dynamically in Master Page? Pin
Brij23-Dec-08 2:47
mentorBrij23-Dec-08 2:47 
QuestionHow to Prepare help File Pin
ais0723-Dec-08 0:58
ais0723-Dec-08 0:58 

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.