M
Marvin Hunkin
Guest
hi. okay, will then paste the below. what i have is a combo box and it sorts the data grid columns. if i try to sort the columns, before oepning a csv file, get an error array out of bounds error. so how do i make sure, that i do not get that error? also, want to have a label above the combo box and a keyboard short cut, how do i do this. thanks. // Add items to the combo box.
// For loop to loop through all items selected in the data grid.
for (int i = 0; i < dgvDisplayData.Columns.Count; i++)
{
cboSortItems.Items.Add(dgvDisplayData.Columns.HeaderText);
}
// Select the first item in the combo box.
cboSortItems.SelectedIndex = 0;
so. how do i do this, have got keyboard short cuts for buttons. thanks.
http://startrekcafe.stevesdomain.net http://groups.yahoo.com/groups/JawsOz
Continue reading...
// For loop to loop through all items selected in the data grid.
for (int i = 0; i < dgvDisplayData.Columns.Count; i++)
{
cboSortItems.Items.Add(dgvDisplayData.Columns.HeaderText);
}
// Select the first item in the combo box.
cboSortItems.SelectedIndex = 0;
so. how do i do this, have got keyboard short cuts for buttons. thanks.
http://startrekcafe.stevesdomain.net http://groups.yahoo.com/groups/JawsOz
Continue reading...