By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
429,557 Members | 1,406 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 429,557 IT Pros & Developers. It's quick & easy.

Add data to database and it to an email???

P: n/a
Hello,

i have an ASP.net / VB page with a Script (submitValues) and a Form.

1. The form has 10 input text and a "Submit" button.
2. The script declares 10 variables. The value of each variable is taken
from each of the 10 input texts.
3. When the button "Submit" is click the variable values are sent to an
email address using AspNetEmail.

As an example, the button code is this one:
<asp:Button ID="submit" runat="server" OnClick="submitValues"
Text="Submit"/>

What i want is to add a new record in a database and insert this values in
it. I allready created the dataSet to the database.

So, when the "Submit" button is clicked, the values are inserted in a new
record in the database and are also sent to my email.

Can you help me out?

Thanks,
Miguel
Nov 18 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
> Can you help me out?

What specifically do you want help with?

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.

"Miguel Dias Moura" <we****@27NOSPAMlamps.com> wrote in message
news:OW**************@TK2MSFTNGP09.phx.gbl...
Hello,

i have an ASP.net / VB page with a Script (submitValues) and a Form.

1. The form has 10 input text and a "Submit" button.
2. The script declares 10 variables. The value of each variable is taken
from each of the 10 input texts.
3. When the button "Submit" is click the variable values are sent to an
email address using AspNetEmail.

As an example, the button code is this one:
<asp:Button ID="submit" runat="server" OnClick="submitValues"
Text="Submit"/>

What i want is to add a new record in a database and insert this values in
it. I allready created the dataSet to the database.

So, when the "Submit" button is clicked, the values are inserted in a new
record in the database and are also sent to my email.

Can you help me out?

Thanks,
Miguel

Nov 18 '05 #2

P: n/a
Check out my blog for help on email:
http://www.melloblog.com/Feedback.aspx?BlogID=25

Good luck!

"Miguel Dias Moura" <we****@27NOSPAMlamps.com> wrote in message
news:OW**************@TK2MSFTNGP09.phx.gbl...
Hello,

i have an ASP.net / VB page with a Script (submitValues) and a Form.

1. The form has 10 input text and a "Submit" button.
2. The script declares 10 variables. The value of each variable is taken
from each of the 10 input texts.
3. When the button "Submit" is click the variable values are sent to an
email address using AspNetEmail.

As an example, the button code is this one:
<asp:Button ID="submit" runat="server" OnClick="submitValues"
Text="Submit"/>

What i want is to add a new record in a database and insert this values in
it. I allready created the dataSet to the database.

So, when the "Submit" button is clicked, the values are inserted in a new
record in the database and are also sent to my email.

Can you help me out?

Thanks,
Miguel

Nov 18 '05 #3

P: n/a
The script to send email is working.
The dataset which connects to the database is done.
What i want is the script or code to insert the form values in a new

record in the database when the button is submited.

Thank You,
Miguel

"Kevin Spencer" <ks******@takempis.com> wrote in message
news:u5**************@TK2MSFTNGP09.phx.gbl...
Can you help me out?


What specifically do you want help with?

--
HTH,
Kevin Spencer
.Net Developer
Microsoft MVP
Big things are made up
of lots of little things.

"Miguel Dias Moura" <we****@27NOSPAMlamps.com> wrote in message
news:OW**************@TK2MSFTNGP09.phx.gbl...
Hello,

i have an ASP.net / VB page with a Script (submitValues) and a Form.

1. The form has 10 input text and a "Submit" button.
2. The script declares 10 variables. The value of each variable is taken
from each of the 10 input texts.
3. When the button "Submit" is click the variable values are sent to an
email address using AspNetEmail.

As an example, the button code is this one:
<asp:Button ID="submit" runat="server" OnClick="submitValues"
Text="Submit"/>

What i want is to add a new record in a database and insert this values in it. I allready created the dataSet to the database.

So, when the "Submit" button is clicked, the values are inserted in a new record in the database and are also sent to my email.

Can you help me out?

Thanks,
Miguel


Nov 18 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.