Author: zuke01 | Posted on: 9/3/2008 3:18:22 AM | Views : 326

When the button is clicked, I want a new html created with the file name of FileName.Text and the contents of htmlContent.
what would be the code? <asp:TextBox id="FileName" Text="myfile1" runat="server"/>
<asp:TextBox id="YourName" Text="Michael Jackson" runat="Server"/>
<asp:Button ID="btn" runat="server" Text="Make a file" />

 -----------------------
htmlContent as string = "<html><body><h1>" & YourName.Text & "</h1></body></html>"

Please Help.
...

Go to the complete details ...