How to do these 2 things?

  • Thread starter Thread starter Miguel Dias Moura
  • Start date Start date
M

Miguel Dias Moura

Hello,

i am working in an ASP.net / VB web site.

In a web page I have a form with 10 Text Boxes.
I want to insert the form values in a new record of a database and i also
want to send them by email when the Submit button is pressed.

What i have:
1. I have a DataSet connecting to the database table where i want to insert
the form values.
I was able to retrieve data from the database so the Data Set is
working.

2. I created an AspNetEmail script which sends the form values by email.

What i don't know how to do:
1. Insert the form values in the database. I have no idea of how to do this.
I also want to put together some form values and insert then as one in
one field of the database table.

2. I want to run the Send Email script and also insert the form values in
the database when the Submit button is pressed. How can i do this?

Anyway, i am not so far from what i need to do. Can somebody help me out? I
need to have this done tomorrow.

Thank You Very Much,
Miguel
 
Hi Miquel,

You have a wide area of questions.

Have you already looked at this resource kit?

Not all your answers on your questions are in it, however it gives you in my
idea more an idea how to reach your goals. (there is as well an aspnet
resource kit which covers also C# and scripting, I think the aspnet part in
this resource kit is more the part for you to start with)

http://msdn.microsoft.com/vbasic/vbrkit/default.aspx

And if you have problems installing it

http://msdn.microsoft.com/vbasic/vbrkit/faq/#installvdir
I hope this helps a little bit?

Cor
 
Back
Top