With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.
conn = new MySqlConnection(connectionString);
string sql = "insert into userlogins " ;
sql += "(logindate,username,password,success) ";
sql += "values( '" ;
sql += DateTime.Now.ToString("yyyy-MM-dd");
sql += "', '" + this.UserName.Text + "', '" + this.Password.Text ;
sql += "','" + intSuccess + "')" ;
MySqlCommand cmd = new MySqlCommand(sql, conn);
MySqlDataAdapter da = new MySqlDataAdapter(cmd);
cmd.CommandType = CommandType.Text;
Open in new window
Author Closing Comment
We value your feedback.
Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!
If you are experiencing a similar issue, please ask a related question
Join the community of 500,000 technology professionals and ask your questions.
Join & Ask a Question
Join our community for more solutions or to ask questions.
For immediate help use Live now!