error
Server Error in '/' Application.
ExecuteNonQuery: CommandText property has not been initialized
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.InvalidOperationException: ExecuteNonQuery: CommandText property has not been initialized
Source Error:
Line 340: cmd.Connection = con;
Line 341: con.Open();
Line 342: cmd.ExecuteNonQuery();
Line 343: con.Close();
Line 344: string message = "Post submitted successfully.";