E:\web\learnaspcom\htdocs\freebook\learn\ubtoc.xml LearnAsp.com - ASP ASP.net Free Lessons
Search Search

#1 worldwide
FREE Coding Lessons

since 1996
   THE BEST WAY to learn ASP & Asp.net!
Advertise Here!
click for details
Credits Host:
DiscountASP.net
Server Admin:
The "Team"
Contact Info.
Charles M. Carroll
<Asp.net blog>
<personal site>
xxx

Utility Belt: FileWrite (to array) Demo
by Charles Carroll

The code below calls "Utility Belt" functions.

The Generate Update statement is one demo of Database "Utility Belt" functionality.

   filename=/experiments/utilitybelt/vercurrent/ubdemo_FileWrite_array.aspx

<Test Script Below>


<%@ debug="true" %>
<%@ Assembly src="utilitybelt.vb" %>
<script language="VB" runat="server">
    dim ub1 as new learnasp.utilitybelt()
Sub Page_Load(S As Object, E As EventArgs)
    ub1.Options("Debug-on,Xray-To-Page-On")
    DIM arryTest as string()={"Line 1", "line 2", "Line 3", "line 4", "Line 5", "line 6"}
    dim strFileName as string=request.PhysicalApplicationPath() & "data/test2.txt"
    ub1.FileWrite(strFileName,arryTest)
    ub1.Xray(arrytest,"arryTest from File named <b>" & strFileName & "</b>")
End Sub
</script>
<html><head>
<title>Utility Belt Demo</title></head>
<body bgcolor="#FFFFFF">
<form runat="server"></form>
</body></html>
Send Us a Holiday Gift!. Charles celebrates Christmas, Jewish holidays, Kwanza, Chinese New Year, Japanese Holidays, Secretary Day, High Muslim Holy Days, Pagan & Wicca holidays, and many more! - send a gift any HOLIDAY. 2004 gift gallery & 2005 gift gallery