Protected Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click
GetMyFile()
End Sub
Function GetMyFile()
Dim d As String = "Word.doc"
'Return Request.PhysicalApplicationPath & "/ff/" & ss
Dim sss As New StreamReader(Request.PhysicalApplicationPath & "/ff/" & d)
Dim dds As String = sss.ReadToEnd
Return dds
<iframe id="file" src='<%# GetMyFile() %>' style="width: 100%; height: 257px" frameborder="0"></iframe>