Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

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:

Whenever, wherever, whatever
Posted
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.

Whenever, wherever, whatever
Posted

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)

"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

Posted

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)

"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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...