370nestor660housman349
New Member
Below is the code. Where it says "DisplayMessage" is where I have a problem.\[code\]protected void btnSend_Click(object sender, EventArgs e) { SendMail(); DisplayMessage.Text = "Thank you for the comment! Please hit the 'Return to Main Page' to return to the Main Page!"; DisplayMessage.Visible = true; txtPhone.Text = ""; txtEmail.Text = ""; txtName.Text = ""; txtComment.Text = ""; }\[/code\]Am I missing a resource of some sort? Here's what I'm using at the moment.\[code\]using System;using System.Collections.Generic;using System.Linq;using System.Web;using System.Web.UI;using System.Web.UI.WebControls;using System.Net;\[/code\]Thanks in advance.