private void C1List1_UnboundColumnFetch(object sender, C1.Win.C1List.UnboundColumnFetchEventArgs e) { if (e.Col == 0 && e.Row < dtCopy.Rows.Count) { e.Value = dtCopy.Rows[e.Row]["First"] + " " + dtCopy.Rows[e.Row]["Last"]; } }
private void c1List1_UnboundColumnFetch(object sender, C1.Win.C1List.UnboundColumnFetchEventArgs e) { //fill random unbound column data if (e.Col == 3) { e.Value = e.Row % 2 == 0 ? "true" : "false"; } else if (e.Col == 4) { e.Value = (e.Row % 4).ToString(); } }