title: Setting command timeout in table adapter
body: <p>I have a XSD file that I use to connect my application. I have my table adapter and methods to access my queries in a separate cs file. I want to increase my time out limit. I have seen other solution that kind of point this:</p>
  
  <pre><code>    [System.ComponentModel.DataObjectMethodAttribute
  (System.ComponentModel.DataObjectMethodType.Select, false)]
      public Scout.ScoutDataTable GetItems(string node, int rank1, int rank2)
      {
          ScoutTableAdapter Adapter = new ScoutTableAdapter();
          Adapter.Adapter.SelectCommand.CommandTimeout = 60;
          return Adapter.GetDataBy(node, rank1, rank2);
      }
  </code></pre>
  
  <p>However I get null reference on the line set the timeout = 60. I have looked at the error and I am confused on what is causing me the problem.</p>