DateTime column is causing the problems I would say. YOu only do "DateTime.Now" - no parsing to string.
btw, what error you get in catch Exception?
Mitja Bonca
Nearly a Posting Maven
2,485 posts since May 2009
Reputation Points: 641
Solved Threads: 474
It seems your connection string to the database is not correct. And as far as i can see you use mySql database (on phpmyadmin).
Try this form is connection string:
"server=localhost;user id=root;password=secret;database=yourDataBaseName;"
Mitja Bonca
Nearly a Posting Maven
2,485 posts since May 2009
Reputation Points: 641
Solved Threads: 474