You say the data can't be inserted, what is the message you receive if any when you attempt this?

Edit: After looking a bit longer it appears that you are not executing anything. You are creating...