title: Type Expected error
body: <p>I have a type expected error on a { , but i am not missing any off.</p>
  
  <p>I really don't know what the problem is and i have looked about for solutions, i know i have a lot of commenting out but that is just code that wont work for some different reason.  </p>
  
  <pre><code>    namespace Antiques
      {
          public partial class About : System.Web.UI.Page, //ISaleManagerUI
          {
              protected void Page_Load(object sender, EventArgs e)
          {
  
          public void LoadData()
          {
              try
              {
                  Application.Lock();
                  UpdateListbox();
                  Application.UnLock();
              }
              catch (FileNotFoundException)
              {
                  lblerror.Text = "Error: Not found, must save first";
              }
          }
  
          protected void Load_Click(object sender, EventArgs e)
          {
              LoadData();
          }
  
          public void AddData()
          {
              var response = base.Response;
              response.Redirect("Default.aspx", true);
          }
  
          protected void btnAddBox_Click(object sender, EventArgs e)
          {
              AddData();
          }
  
          public void UpdateListbox()
          {
          }
  
          protected void lb1_Init(object sender, EventArgs e)
          {
              UpdateListbox();
          }
  
  
          protected void Delete_Click(object sender, EventArgs e)
          {
              while (lb1.SelectedIndex != -1)
              {
                  ListItem mySelectedItem = (from ListItem li in lb1.Items where li.Selected == true select li).First();
                  lb1.Items.Remove(mySelectedItem);
              }
          }
  
          protected void lb1_SelectedIndexChanged(object sender, EventArgs e)
          {
  
          }
  
          public void SaveData()
          {
          }
  
          protected void Save_Click(object sender, EventArgs e)
          {
              SaveData();
          }
  
      }
   }
  </code></pre>