473,326 Members | 2,102 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

Need Help!! entering form results to a SQL Database then emailing them

Hi,

I am a total newbie to asp.net. I have spent the last week or so trying
to find a good tutorial that would show me how to create a form that
would be entered into a SQL database and then once entered into the
database would email me the results of the form.

I found the tutorials on aspnet101.com (Emailing form results) and they
really did not explain to well.

Does anyone know of a good tutorial site where it pretty much explains
it word for word? And if not a tutorial site then could someone please
point me in the right direction....

Thanks so much

Nov 21 '05 #1
1 1131
Dman,

This was my first expirience with ASPNET and I find if well.

http://samples.gotdotnet.com/quickstart/

Although it is ASPNET without the IDE (dll's), which is in fact a little bit
else to use. For good samples about real using the IDE, I would use the
ASPNET part from this ones

http://www.microsoft.com/downloads/d...displaylang=en

And a sample to show you how simple it is if you have MSDE (the mini SQL
server) and in that the sample northwind database installed.

\\\open a webform project, drag a datagrid from the toolbox,
'click somewhere on your form, paste in this code and click debug.
Private Sub Load(ByVal sender As System.Object, _
ByVal e As System.EventArgs) Handles mybase.load
Dim conn As New SqlClient.SqlConnection _
("Server=(Local); DataBase=Northwind;" & _
"Integrated Security=SSPI")
Dim da As New SqlClient.SqlDataAdapter _
("select * from categories, conn)
Dim ds As New DataSet
da.Fill(ds, "categories")
DataGrid1.DataSource = ds.Tables(0)
DataGrid1.DataBind()
End Sub
///

I hope this helps,

Cor
Nov 21 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Ken | last post by:
How can I get this line to work? I am trying to get the results entered in a form to be part of my query. I am able to get the form results but I get a error stating Syntax error (missing operator)...
3
by: Greg Krawczyk | last post by:
I created a contacts form. Uploaded the form, the database, and the connection page to the remote server. I tested everything out on my computer, win2000 localhost and everything worked but...
22
by: SF | last post by:
Hello All, In a windows C learning project I am wokring on I use the system function to run a command, I want to suck the results into a vairable. The system function seems to only return an...
5
by: rhconcepts | last post by:
I have my own server running 2003 web edition. I have a webpage that has a form on it. I would like to set it up so I can have the submit button send the form to the server. It is set up now to work...
0
by: HydroPnik | last post by:
Hi all! What a great community you have here. Being an Access newbie I have already used much information gleaned from the other posters for my current project. I have been tasked with creating a...
2
by: jerryst | last post by:
need help and advise with database... i am an independant oil and gas consultant and have a fair amount of computer experience but, am lost when it comes to data bases .... i found a database...
9
by: wparrott | last post by:
I have a table called tblPayScales. It has 5 fields: numRecID - record ID txtCLASSCODE - a 1 or 2 letter text value (A, B, C, BD, L, LT, etc.) numPAYSTEP - a number value 0-49 numSALARY - a...
6
by: smk17 | last post by:
I've spent the last few minutes searching for this question and I found an answer, but it wasn't quite what the client wanted. I have a simple online form where the user needs to fill out five...
47
by: ndedhia1 | last post by:
I have data in a database that looks like this: INSERT INTO ALARMNOTIFICATIONDETAIL VALUES ('1865', '2295', '15401', '1', 'Prodprdcons11InstrumentationMonitor', 'ALL'); INSERT INTO...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.