Product Bundles
DevCraft
All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:
Web
Mobile
Document Management
Desktop
Reporting
Testing & Mocking
CMS
UI/UX Tools
Debugging
Free Tools
Support and Learning
Productivity and Design Tools
public
Form1()
{
InitializeComponent();
DataTable dt =
new
DataTable();
for
(
int
i = 0; i < 10; i++)
dt.Columns.Add(
"Col"
+ i);
}
i = 0; i < 50; i++)
DataRow r = dt.NewRow();
foreach
(DataColumn c
in
dt.Columns)
r[c.ColumnName] =
"data"
+ i +
"."
+ dt.Columns.IndexOf(c);
dt.Rows.Add(r);
this
.radMultiColumnComboBox1.EditorControl.AutoGenerateColumns =
false
;
GridViewTextBoxColumn c1 =
GridViewTextBoxColumn(
"Col4"
);
c1.FieldName =
.radMultiColumnComboBox1.EditorControl.Columns.Add(c1);
GridViewTextBoxColumn c2 =
"Col5"
c2.FieldName =
.radMultiColumnComboBox1.EditorControl.Columns.Add(c2);
GridViewTextBoxColumn c3 =
"Col7"
c3.FieldName =
.radMultiColumnComboBox1.EditorControl.Columns.Add(c3);
.radMultiColumnComboBox1.DataSource = dt;
.radMultiColumnComboBox1.DisplayMember =
.radMultiColumnComboBox1.ValueMember =
See What's Next in App Development. Register for TelerikNEXT.