Subscribe
TechTasks.net

The Blog is Moved to www.TechTasks.net


Design



//in upload button click event write the bel0w code

protected void btnuplode_Click(object sender, EventArgs e)

{

fuplode.SaveAs(@"D:\\Raji\\ASP\\uplodefile\\uploadefiles\\" + fuplode.FileName);

StreamReader sr=new StreamReader ("D:\\Raji\\ASP\\uplodefile\\uploadefiles\\" + fuplode.FileName);

string content=sr.ReadToEnd();

TextBox1.Text = content;

sr.Close();

}

Bookmark and Share
Saving Uploaded file into Disk and displaying the content into TextBoxSocialTwist Tell-a-Friend

0 comments:

Subscribe to: Post Comments (Atom)
Thanks For Visiting