How to edit compiled ASP.net website?
<p>I have a website, published <a href="http://wbs.ae/contactus.aspx" rel="nofollow">here</a>.</p>

<p>On the contact us page, linked above, there is a drop down menu.</p>

<p>Depending on the selection of the content type in that menu, a different person is emailed. </p>

<p>The original developer, apparently to my inexperienced eyes at least, hardcoded the email addresses for those people. </p>

<p>Several of them have left the company, and we are maintaining their email addresses and checking them solely for the purpose of these web contacts.</p>

<p>Ideally, I would like to set up a control on the website admin page to allow the addresses to be edited in the future. </p>

<p>I can see and edit the contact us page in VS 2010 (currently using web matrix and VS 2010 Express but I have VS 2010 Professional as well.) </p>

<p>My experience is very limited, so I will have to learn a lot, I expect, to make this happen. </p>

<p>Enough background, I hope. What I need is to find where the emails are coded. The dropdown shows a identifier which relates to the selected choice, but I can't find what that relates to, or what control relates it to an email (or where it posts to when "Send" is clicked.)</p>

<p>I apologize in advance for my lack of knowledge. I'm trying to learn, and I have a job to do. I'll try not to suck up too much of anybody's time, and I'll try to work out on my own, what I can. Please let me know what further data I can provide.</p>

<p>This is the code for the dropdown. If there is a reference here to where the data I need is, I can't find it. I can post the rest of the code for the page if necessary.</p>

<p>EDIT: I posted the whole page. The dropdown seemed too basic to be of help.</p>

<p><strong>EDIT: Posted source code</strong></p>

<pre><code>using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using System.Web.Mail;

public partial class ContactUs : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{

}
protected void Button1_Click(object sender, EventArgs e)
{

    Calendar cal = new Calendar();
    string dat = cal.TodaysDate.Date.ToLongDateString();

        System.Web.Mail.MailMessage mm = new MailMessage();
        mm.From = "WBS Website&lt;info@wbs.ae&gt;";
        if (DrpDwnType.SelectedItem.Value == "G")
            mm.To = "david@wbs.ae";
        else
            mm.To = "robert@wbs.ae";

        mm.Cc = "wolfi@wbs.ae";
        mm.Bcc = "precise.customer@gmail.com";
        mm.Subject = "Online comments from WBS website visitor, " + TXTFname.Text;
        mm.Body = "&lt;div style='border:solid 2px RED; padding:25px 25px 25px 25px'&gt;&lt;br&gt;&lt;br&gt; &lt;strong&gt;Online comments from WBS website&lt;/strong&gt;&lt;br&gt; &lt;br&gt; ------------------------------------- &lt;br&gt; Date : " + dat + "&lt;br&gt; &lt;br&gt; First Name : " + TXTFname.Text + "&lt;br&gt;Last Name : " + TXTLastName.Text + "&lt;br&gt; Email Address : " + TXTEmail.Text + "&lt;br&gt; Contact No : " + TXTMob.Text + "&lt;br&gt; Enquiry Type : " + DrpDwnType.SelectedItem.Text + "&lt;br&gt; &lt;br&gt; &lt;br&gt; The visitor comment : &lt;br&gt; --------------------------------------- &lt;br&gt; " + TXTComment.Text + "&lt;/strong&gt;&lt;br&gt;&lt;br&gt;Further Information : " + RadioButtonList1.SelectedItem.Value.ToString() + "&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;/div&gt;";
        mm.BodyFormat = MailFormat.Html;
        SmtpMail.Send(mm);
        TXTFname.Text = "";
        TXTLastName.Text = "";
        TXTMob.Text = "";
        TXTComment.Text = "";
        TXTEmail.Text = "";
        TXTMess.Text = "Thank you for your interest in WBS!!! ";



}
</code></pre>

<p>}</p>
