07-02-19 11:14 PM
07-02-19 11:27 PM
08-02-19 05:12 PM
19-02-19 08:23 PM
20-02-19 01:11 AM
DataView dv = Collection.DefaultView; //Label to prevent 'Collection was modified' errors Out: foreach(DataColumn col in Collection.Columns) { if(col.DataType == System.Type.GetType(""System.String"")) dv.RowFilter = col.Caption+"" =''""; //else //dv.RowFilter = col.Caption.ToString() + "" = null""; if(dv.Count == Collection.Rows.Count) { Collection.Columns.Remove(col); goto Out; } } New_Collection = Collection;
20-02-19 10:43 AM
22-02-19 12:00 AM
22-02-19 02:02 AM
22-02-19 03:13 AM
22-02-19 03:24 AM