title: C# web application MessageBox.Show issue
body: <p>I have a switch statement that iterates through the buttons in my html and names them.  I would like to display a message box as the default case, but when i try to create the MessageBox it displays an error.  I tried using System.Windows.Forms; but when I implement that I cant pass information to my buttonsetup function.  I realized using System.Windows.Forms; is only for console applications.  Do I need to go into the html and make a message?  if so, how and how do i implement it properly.</p>
  
  <pre><code>EX:
  case 38:
      ButtonSetup(dr, this.Button39);
      break;
  case 39:
      ButtonSetup(dr, this.Button40);
      break;
  default:
      MessageBox.Show("There are more tblBldgs records than buttons on Bldgs.aspx.");
      break;
  </code></pre>