/ Published in: C#

Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
public void LogRequest(string requestor, string messageBody) { using (SqlConnection conn = new SqlConnection(ConfigurationManager.ConnectionStrings["MyConnectionString"].ConnectionString)) { conn.Open(); cmd.CommandType = CommandType.StoredProcedure; cmd.ExecuteNonQuery(); } }
Comments
