Ask a Question related to Dreamweaver AppDev, Design and Development.
-
Christopher Hayes #1
ASP.NET C# Need to email record after inserting into SQL
Using DMX 2004, WinXP Pro, MS SQL Server 2000, ASP.NET C#.
I am using a standard Insert Record behavior and after the record is
successfully inserted into the database, I need it to be emailed using
ASPNET Mail.
Can someone please help me with this. I'm at a loss.
Thanks,
Chris Hayes
Christopher Hayes Guest
-
INSERTing record into Access via CFC?
I feel confident people are routinely doing this, but I have not been able to find a simple, concise tutorial on it... I have a Cold Fusion... -
Please Help! Error when inserting record...
I am using ColdFusion MX 6.1 and am having issues with inserting a record into an access database. Any help on what is wrong? Error Executing... -
Help with inserting record
So I've been looking all over these forums, and all over the internet on some kind of tutorial that will explain what I need to do to just insert a... -
Inserting a Record
I am trying to create a web form to insert data into an SQL table that is on another server. So far I have my connection string working great and... -
Error when inserting record
When trying to use the server behavior "Insert Record" I get the following error message: While executing onLOad in Insert Record.htm, the... -
RajDogLives #2
Re: ASP.NET C# Need to email record after insertinginto SQL
I'm not sure on the details cause I've done things like this using asp, all you
need to do is get the record ID after insert. It's more of a SQL server issue
than anything else. I would search for info on identity or scope identity.
Here is some code I used in SQL server and ASP:
InsertCommand.Execute(InsertCommand) Set rsNewID =
InsertCommand.Execute('SELECT SCOPE_IDENTITY()') Session ('varID') =
rsNewID(0) rsNewID.Close Set rsNewID = Nothing
RajDogLives Guest



Reply With Quote

