Author: hfinmt | Posted on: 11/4/2009 8:30:19 AM | Views : 437

 Hello all,
I have tried unsuccessfully for nearly 3 weeks to get a simple contact us page to work.  Been through pages and pages on the topic.  Would someone please help me, I want to take my website live asap.  Here is the code for the web.config, .cs code behind, and content page derived from a master page.  Do I need to call the method from the .cs page from within the content page, or is it something else?
Code from .cs page:
 
using System.Net;
using System.Net.Mail;
 
 
public partial class Default2 : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
 
    }
 
protected void btnSubmit_Click(object sender, EventArgs e)
  
    {
 
     &nbs ...

Go to the complete details ...