private void Form1_Load(object sender, EventArgs e)
{
GcComboBoxCell gcComboBoxCell1 = new GcComboBoxCell();
gcComboBoxCell1.DropDown.Size = new Size(120, 80);
//Set the DataSource.
gcComboBoxCell1.DataSource = CreateDateTable1();
Template template1 = Template.CreateGridTemplate(new Cell[] { gcComboBoxCell1, gcComboBoxCell1.Clone() as Cell }, 200,
AutoGenerateGridTemplateStyles.ColumnHeader | AutoGenerateGridTemplateStyles.RowHeaderAutoNumber);
gcMultiRow1.Template = template1;
gcMultiRow1.RowCount = 3;
}
Private Sub Form1_Load(ByVal sender As Object, ByVal e As EventArgs) Handles Me.Load
Dim gcComboBoxCell1 As New GcComboBoxCell()
gcComboBoxCell1.DropDown.Size = New Size(120, 80)
'Set the DataSource.
gcComboBoxCell1.DataSource = CreateDateTable1()
Dim template1 As Template = Template.CreateGridTemplate(New Cell() {gcComboBoxCell1, TryCast(gcComboBoxCell1.Clone(), Cell)}, 200, AutoGenerateGridTemplateStyles.ColumnHeader Or AutoGenerateGridTemplateStyles.RowHeaderAutoNumber)
gcMultiRow1.Template = template1
gcMultiRow1.RowCount = 3
End Sub