Joined
Last Seen
0 Reputation Points
0% Quality Score
- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
0 Endorsements
Ranked #72.9K
1 Posted Topic
Connection = ConfigurationManager.ConnectionStrings["ContentTestConnection"].ToString(); Here ContentTestConnection is the name of the connection string whose values is the information about the the database connectivity. using (MySqlConnection objconnection = new MySqlConnection(Connection)) using (MySqlCommand cmd = new MySqlCommand(query, objectconnection)) { objectconnection.Open(); cmd.ExecuteNonQuery(); objectconnection.Close(); } I hope this helps. Feel free to ask questions
The End.
vdixit01