problem in display content of one page to another page ( aspx page )? please give the sample of its thanks in advance
we use the literal control to show the content
we read the content by stream reader
example
string path = Server.MapPath("~/") + "/Default.aspx";using (StreamReader reader = File.OpenText(path))
{
string fileContents = reader.ReadToEnd();
this.Literal1.Text = fileContents;
}
check this example