title: How Convert DataSet to List<ArrayList>?
body: <p>I have a dataset ds and a List of ArrayList newpath i want to add(assign) ds to newpath
  how is that possible.</p>
  
  <pre><code>public List&lt;ArrayList&gt; newpath
      {
          set { ViewState["newpath"] = value; }
          get
          {
              if (ViewState["newpath"] == null)
                  return new List&lt;ArrayList&gt;();
              else
                  return (List&lt;ArrayList&gt;)ViewState["newpath"];
          }
      }
  </code></pre>
  
  <p>i am trying with</p>
  
  <pre><code>foreach (DataRow dataRow in Ftb.Rows)//Ftb is datatable
   {
      newpath.Add(dataRow);//newpath is List&lt;ArrayList&gt;
   }
  </code></pre>
  
  <p>and</p>
  
  <pre><code>foreach (DataRow dRow in ds.Tables[0].Rows)
   {
     newpath.Add(dRow);
   } 
  </code></pre>
  
  <p>if i am doing like above way then i am getting the error
  "The best overloaded method match for 'System.Collections.Generic.List.Add(System.Collections.ArrayList)' has some invalid arguments"</p>
  
  <p>Please help me if in someway.. how to do that</p>