title: Bind Collections To Gridview
body: <pre><code>protected void BindGV()
          {
              List&lt;List&lt;string&gt;&gt; list = new List&lt;List&lt;string&gt;&gt;()
              {
                  new List&lt;string&gt;() {"Hussain","IT","Hyderabad" },
                  new List&lt;string&gt;() { "Sharief","IT","Bangalore"},
                  new List&lt;string&gt;() { "Shaik","IT","Chennai"}
              };
              gv1.DataSource = list;
              gv1.DataBind();
  
          }
  </code></pre>
  
  <p>I want to display only Name and City in Gridview. I want to use like:</p>
  
  <pre><code>&lt;asp:Boundfield Datafield="" Headertext="Name"/&gt;
  </code></pre>
  
  <p>How to use DataField in this case??</p>