Ask a Question related to Dreamweaver AppDev, Design and Development.
-
rachplayer #1
How to include Dynamic Data within a <script> tag
Why can't I just drag the DataSet field from the the Application window to the
area where I want that data to be inserted in the code, just like I would if it
were to be displayed as text in the body of the page. I assume there there is
just some type of syntactical problem that I am not aware of. Please help!
Thank you,
Greg Lile
This is what I want:
<script runat="server">
Sub Button1_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs)
Dim ID3StreamWriter As IO.StreamWriter
ID3StreamWriter =
IO.File.CreateText(C:\MediaTitles\DynamicDataHere\ID3.txt")
ID3StreamWriter.WriteLine("filename^album^tracktit le^tracknumber")
ID3StreamWriter.Close()
End Sub
</script>
This is how I tried to accomplish it:
<script runat="server">
Sub Button1_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs)
Dim ID3StreamWriter As IO.StreamWriter
ID3StreamWriter = IO.File.CreateText("C:\MediaTitles\<%#
ID3Info.FieldValue("MediaTitleID", Container) %>\ID3.txt")
ID3StreamWriter.WriteLine("filename^album^tracktit le^tracknumber")
ID3StreamWriter.Close()
End Sub
</script>
rachplayer Guest
-
Include script name
Hi, Need a little help with this, is there any way for a file that's been included to know it's file name. For example, I've got a custom tag that... -
include files using dynamic path script - Help?
I have recently found Hosting services that have the PHP virtual() function disabled. This function works only when PHP is compiled as an Apache... -
How do i include a shell script
How do i include a shell script in perl. I have to use some shell scripts in a perl script. I know I can write it in perl, but would like avoid... -
abnormal program termination with dynamic data, but not with fixed data
hi everyone. I am stumped! I have code that is part of a simple persistent object manager. The system takes an object, builds an update... -
IIS6 doesn't include client side script
I have several pages where we inlcude client side script using the following syntax. <script type="text/vbscript" language="VBScript"...



Reply With Quote

