To illustrate Woody's point:
If your SQL Statement literally equates to something like:
UPDTE Account_Registrations SET Project = myProject, Group = myGroup, Email =
[email protected], Phone = MyPhone, Extenstion = myExtenstion WHERE UserName = 'foo'
SQL will throw an error since strings need to be delimited by ' '
Apply the same methodology you are using for your WHERE clause, e.g. you surround the Form value with ' ' to your set statement.
It would look something like this:
UPDTE Account_Registrations SET Project = 'myProject', Group = 'myGroup', Email = '
[email protected]', Phone = 'MyPhone', Extenstion = 'myExtenstion' WHERE UserName = 'foo'
hth
================================================== =========
Read this if you want to know how to get a correct reply for your question:
http://www.catb.org/~esr/faqs/smart-questions.html
================================================== =========
Technical Editor for:
Professional Search Engine Optimization with ASP.NET
Professional IIS 7 and ASP.NET Integrated Programming
Wrox Blox: Introduction to Google Gears
Wrox Blox: Create Amazing Custom User Interfaces with WPF and .NET 3.0
================================================== =========