title: Binding GridViewComboBoxColumn to a datasource
body: <p>I already know how to specify the datasource but afther doing that it is not populated yet so i was thinking you need some kind of bind() command to populate the comboboxcolumn in the edit form
  This below is how i bind the datasource to the comboboxcolumn (and yes i am sure that ds has data rows in it)</p>
  
  <pre><code>(ASPxGridView4.Columns["Naam"] as GridViewDataComboBoxColumn).PropertiesComboBox.DataSource = ds as DataSet;
  </code></pre>
  
  <p>So could anyone tell me how i can now populate the comboboxcolumn in edit mode?</p>
  
  <p><strong>Edit</strong></p>
  
  <pre><code>protected void ASPxGridView4_InitNewRow(object sender, DevExpress.Web.Data.ASPxDataInitNewRowEventArgs e)
      {
          if (dt.Rows.Count &lt; 1)
          {
              ds = Session["ds"] as DataSet;
          }
          GridViewDataComboBoxColumn column = (ASPxGridView4.Columns["Naam"] as GridViewDataComboBoxColumn);
          column.PropertiesComboBox.DataSource = ds.Tables[0];
          column.PropertiesComboBox.ValueField = "Naam";
          column.PropertiesComboBox.ValueType = typeof(string);
          column.PropertiesComboBox.TextField = "Naam";
      }
  </code></pre>