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
Posting Maven
2,561 posts since May 2009
Reputation Points: 642
Solved Threads: 486
Skill Endorsements: 13
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
Posting Maven
2,561 posts since May 2009
Reputation Points: 642
Solved Threads: 486
Skill Endorsements: 13