title: Error when binding 2D Array to Gridview
body: <p>I want to bind a multidimensional array to gridview, but it display the following error when running "<code>Gridview1.DataBind()</code>"</p>
  
  <p>"Array was not a one-dimensional array."</p>
  
  <p>The following is my code:</p>
  
  <pre><code>Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
  
          CreateArray()
  End Sub
  
  Private Sub CreateArray()
  
          Dim Array(4, 3) As String
              Array(0, 0) = "ABC"
              Array(1, 0) = "DEF"
              Array(2, 2) = "GHJ"
              Array(1, 3) = "XVZ"
  
          Gridview1.DataSource = Array       
          Gridview1.DataBind() 
  
  End Sub
  </code></pre>
  
  <p>Is there any mistake in my code ? Thanks,</p>
  
  <p>Joe</p>