Convert DataRowCollection to DataRow[]
What's the best performing way to convert a DataRowCollection instance to a DataRow[]? ...
What's the best performing way to convert a DataRowCollection instance to a DataRow[]? ...
I have row collection. (DataRow[] rows) And i want to import all rows to another DataTable (DataTable dt) BUT HOW !? DataTable dt; if (drs.Length>0) { dt = new DataTable(); foreach (DataRow row in drs) { dt.Columns.Add(row???????) } //...
I've been using LINQ for awhile (and enjoy it), but it feels like I hit a speedbump when I run across .NET specialized collections(DataRowCollection, ControlCollection). Is there a way to use LINQ with these specialized controls, and if not do you think Microsoft will address this in the next release of the framework? Or are we left to...