I have a common DataTable that i vish to display in various different ways in different datagridviews. It would appear that the best way is to use separate dataviews based on the datatable for each binding source for each DGV.
What I need to know is how to get the data table column names from the binding source
if the binding source is a datatable the following works
foreach (DataColumn Col in (cmbMCCB.Binding.DataSource as DataTable).Columns)
If the binding source is a dataview this does not work nor does
foreach (DataColumn Col in (cmbMCCB.Binding.DataSource as DataView).Row.Table.Columns)
With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.
Performance in games development is paramount: every microsecond counts to be able to do everything in less than 33ms (aiming at 16ms). C# foreach statement is one of the worst performance killers, and here I explain why.