If you get an error on the query it means the string itself is wrong. It could be the ';' at the end. try: string InsNew="insert into users(UserName,Password,FirstName,LastName,count,Email,StreetAddress,City,Country,Active,RegisterDate) values('"+TextBox3.Text+"','"+TxtBxPass.Text+"','"+TxtBxName.Text+"','"+TxtBxLName.Text+"','"+TxtBxYears.Text+"','"+TxtBXMail.Text+"','"+TxtBxAdd.Text+"','"+TxtBxCity.Text+"','"+TxtBxNow.Text+"','"+ActiveState+"','"+Date+"')"; but it could also be a "'" character. I build my queries like this also, but it often misses some detail, my advise is: debug the code and copy the query (via quickwatch or something) then paste the query in the sql editor of your database and see what happens. Here you can 'debug' your query. adjust your string in code and it should work. Keep in mind that databases have different syntax. eg. Sybase is case sensitive and Oracle is not. Good luck. "If I don't see you in this world, I'll see you in the next one... and don't be late." ~ Jimi Hendrix