hello to all ,i want to attach a text file for downloading the website i am developing through asp.net.........
plz help me in the coding..........
i am sending the coding as below.........
on link button...
Response.AppendHeader("Content-Disposition",Attachment.FileName=TextFile1.txt);
Response.ContentType="Text";
Response.WriteFile("TextFile1.txt");