title: Declaring a DataTable and adding columns outside the method
body: <p>I want to declare a <strong>DataTable</strong> outside the <strong>Page_Load</strong> method (or any other method)
   but unable to do so.</p>
  
  <p>I want some thing like this.</p>
  
  <pre><code>Protected void Page_load(object sender ,EventArgs e) 
  {
  // Outside this or any other method
  }
  DataTable dt = new DataTable("testingDt");
  
  dt.Columns.Add("Site A");
  dt.Columns.Add("Site B");
  dt.Columns.Add("Site C");
  </code></pre>
  
  <p>I can declare a DataTable and add columns inside methods and do whatever i want with them but was thinking why i am unable to some thing like this.</p>