
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();
}
0 comments:
Respects for your's Questions & Opinions