Click here to Skip to main content
15,914,225 members
Home / Discussions / ASP.NET
   

ASP.NET

 
Questioncreate random shift ... plz i need your help Pin
waleed6663-Jun-07 9:30
waleed6663-Jun-07 9:30 
AnswerRe: create random shift ... plz i need your help Pin
Christian Graus3-Jun-07 11:29
protectorChristian Graus3-Jun-07 11:29 
GeneralRe: create random shift ... plz i need your help Pin
waleed6663-Jun-07 11:56
waleed6663-Jun-07 11:56 
GeneralRe: create random shift ... plz i need your help Pin
Christian Graus3-Jun-07 12:08
protectorChristian Graus3-Jun-07 12:08 
GeneralRe: create random shift ... plz i need your help Pin
waleed6663-Jun-07 12:23
waleed6663-Jun-07 12:23 
GeneralRe: create random shift ... plz i need your help Pin
Christian Graus3-Jun-07 12:44
protectorChristian Graus3-Jun-07 12:44 
GeneralRe: create random shift ... plz i need your help Pin
Expert Coming3-Jun-07 15:01
Expert Coming3-Jun-07 15:01 
Questionneed help with gridview Pin
Stlobeli3-Jun-07 9:17
Stlobeli3-Jun-07 9:17 
Questionhow to use Sesssion on threading Pin
Maksi3-Jun-07 8:56
Maksi3-Jun-07 8:56 
AnswerRe: how to use Sesssion on threading Pin
Viral Upadhyay3-Jun-07 9:07
Viral Upadhyay3-Jun-07 9:07 
GeneralRe: how to use Sesssion on threading Pin
Maksi3-Jun-07 10:52
Maksi3-Jun-07 10:52 
Questionneed picturebox control on webform Pin
mathprof3-Jun-07 3:11
mathprof3-Jun-07 3:11 
AnswerRe: need picturebox control on webform Pin
Christian Graus3-Jun-07 11:30
protectorChristian Graus3-Jun-07 11:30 
GeneralRe: need picturebox control on webform Pin
mathprof3-Jun-07 13:14
mathprof3-Jun-07 13:14 
GeneralRe: need picturebox control on webform Pin
mathprof3-Jun-07 13:32
mathprof3-Jun-07 13:32 
GeneralRe: need picturebox control on webform Pin
Christian Graus3-Jun-07 13:37
protectorChristian Graus3-Jun-07 13:37 
QuestionMultiple Submit Behaviour in an ASP.Net Page Pin
Gamzun3-Jun-07 0:52
Gamzun3-Jun-07 0:52 
AnswerRe: Multiple Submit Behaviour in an ASP.Net Page Pin
Viral Upadhyay3-Jun-07 2:35
Viral Upadhyay3-Jun-07 2:35 
QuestionMultiple App_Code type folders Pin
eggie52-Jun-07 22:09
eggie52-Jun-07 22:09 
AnswerRe: Multiple App_Code type folders Pin
Guffa2-Jun-07 23:57
Guffa2-Jun-07 23:57 
GeneralRe: Multiple App_Code type folders Pin
eggie53-Jun-07 8:21
eggie53-Jun-07 8:21 
QuestionSome HTML code in Textfile downloaded. Pin
Junior Boy2-Jun-07 21:32
Junior Boy2-Jun-07 21:32 
I have no idea how can i get the HTML code in the textfile that I downloaded from the server.
Here is the code... (C# .net)

============================================================================================
String filename = "dataFile.txt";
String fileDownload = Server.MapPath("TextFiles//mydata.txt");

Response.ContentType = "text/plain";
String disHeader = "Attachment; Filename=\"" + filename + "\"";
Response.AppendHeader("Content-Disposition", disHeader);
FileInfo fileToDownload = new FileInfo(fileDownload);
Response.WriteFile("" + fileToDownload.FullName);
============================================================================================
I tried to used the vb .net it has no problem I mean no HTML code in the textfile.
Anybody who has ever had this problem? or Anybody who know this how to solve the problem help me please.
Thank you very much.


junior boy

AnswerRe: Some HTML code in Textfile downloaded. Pin
Christian Graus2-Jun-07 21:53
protectorChristian Graus2-Jun-07 21:53 
GeneralRe: Some HTML code in Textfile downloaded. Pin
Junior Boy2-Jun-07 22:09
Junior Boy2-Jun-07 22:09 
GeneralRe: Some HTML code in Textfile downloaded. Pin
Junior Boy2-Jun-07 22:18
Junior Boy2-Jun-07 22:18 

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.