User-540384097 posted
Hello, So far, I knew the <% Response.Writefile(“filename”)%> just like the server-side <!-- #include PathType = FileName --> dynamically include files in ASP. Also, many people suggest to using HttpContent to write the include file as object. So, what
about the filename that is dataitem in dataset? How to declare a filename as part of dataitems? Can someone help me on this subject? I have repeater with databind, and <%# Databinder.Eval(Container.dataitem,”Dtextpath”)%> for HTML document “Path+Filename”
such as “documents/123.htm” from Sqlconnection. Thanks. Gary
User-540384097 posted
Hi all, I need some one help me on this subject. I have filename script out in dataset such as <#% Databinder.Eval(Container.dataitem, “filename”)%> and then I want to using <% Response.Writefile(”filename”)%> to display the file some where in the same aspx.
How do I capture filename from dataset to writefile(“”)? Please help!!! Many thanks. Gary