string htmFile = "Include.htm"; Response.WriteFile(Server.MapPath(htmFile));Einar
>FileInfo oFileInfo = new FileInfo(path); >StreamReader oReader = oFileInfo.OpenText(); >string stringMyText = oReader.ReadToEnd(); >oReader.Close(); >>
>>string theFile="Include"+IncPage.ToString()+".htm"; >>string input; >>System.IO.StreamReader sr = System.IO.File.OpenText(Server.MapPath(theFile)); >> >>while ((input=sr.ReadLine())!=null) >>{ >> Response.Write(input); >>} >>sr.Close(); >>>>