Scooter Posted April 8, 2004 Posted April 8, 2004 I'm new to Visual Basic Programming and Asp.Net. I created a web page using Asp.net in visual Basic and I have 7 fields on my page, Name, Address, City, State, Zip, Phone Number, and E-mail Address. What I want to know is how can I get the information that is entered into those textboxes submitted back to me. Either via saving it into a file and/or sending it to me via e-mail. :confused: Quote Whenever, wherever, whatever
Moderators Robby Posted April 8, 2004 Moderators Posted April 8, 2004 What environment are you running the application on, shared hosting or your own intranet? You can usually use SMTP. Quote Visit...Bassic Software
Scooter Posted April 8, 2004 Author Posted April 8, 2004 What environment are you running the application on' date=' shared hosting or your own intranet? You can usually use SMTP.[/quote'] I'm on my own intranet for right now, eventually I would like to put it out on the internet. Quote Whenever, wherever, whatever
Moderators Robby Posted April 8, 2004 Moderators Posted April 8, 2004 You will need to setup the SMTP vitual service on your server. http://support.microsoft.com/default.aspx?scid=kb;en-us;q303776&sd=tech AND http://www.google.com/search?hl=en&ie=UTF-8&oe=UTF-8&q=setup+SMTP+Virtual+Service Quote Visit...Bassic Software
Arch4ngel Posted April 8, 2004 Posted April 8, 2004 You can also put those information in a XML file. (WriteXml of DataSet) Even an XML format if you don't have Access or SQL-Server (or your hosting don't give you those services). You can then email you those information. 2 advantages : -You've got your information structured -You can send, all of them, to you to analyze or whatever you want... -You could make a dynamic link to download the file on an administrative part of your web site. (Like a dynamic DB) -This method is permitted by all hosting (hey... it's a file no ?) 3 disadvantages -If there's a bunch of informations it could be long to send by mail -Make sure that this file isn't in a shared directory -Informations aren't compacted or crypted... they are plain text (can open with NotePad) Quote "If someone say : "Die mortal !"... don't stay to see if he isn't." - Unknown "Learning to program is like going out with a new girl friend. There's always something that wasn't mentioned in the documentation..." - Me "A drunk girl is like an animal... it scream at everything like a cat and roll in the grass like a dog." - Me after seeing my girlfriend drunk and some of her drunk friend. C# TO VB TRANSLATOR
Scooter Posted April 13, 2004 Author Posted April 13, 2004 Where would I find info and/or tutorial on XML, I know nothing about it. Quote Whenever, wherever, whatever
Administrators PlausiblyDamp Posted April 14, 2004 Administrators Posted April 14, 2004 http://www.w3schools.com/xml/default.asp http://msdn.microsoft.com/xml/default.aspx Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
Arch4ngel Posted April 14, 2004 Posted April 14, 2004 Try looking for XmlDocument under System.Xml. It's there that you'll find how to do it. After you have your file... just make a DataSet and ReadXml. That's all you got to read your Data (well... you'll have to search a bit but... no effort no glory :D) Quote "If someone say : "Die mortal !"... don't stay to see if he isn't." - Unknown "Learning to program is like going out with a new girl friend. There's always something that wasn't mentioned in the documentation..." - Me "A drunk girl is like an animal... it scream at everything like a cat and roll in the grass like a dog." - Me after seeing my girlfriend drunk and some of her drunk friend. C# TO VB TRANSLATOR
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.