I remember reading something in the past aboout storing form values into strings, then the strings into a .txt document, but that was all about VB 6.0. Could someone give me some source, and even better, an explanation as to how I can make it so the user clicks 'Submit', and their email address (from a input box with name="email" id="email") is stored in a .txt document.
Varelei
0
Newbie Poster
Recommended Answers
Jump to Post<%@ Import Namespace="System.IO" %> <script language="vb" runat="server"> sub Page_Load(sender as Object, e as EventArgs) 'This will create the file if it doesn't exist, and will also 'continue to add text to the file. To overwrite the file, 'just remove the true attribute. Dim objStreamWriter As New StreamWriter(FileName, …
All 3 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.