c# - ADO.NET: convert a DataTable to an array of DataRows -


I am using ADO.NET and C #, and I want to convert a DataTable object to a Datasher array I am What is a great way to do this?

Why would my first question be? Request does not make any sense

The answer is:

  Datarao [] rows = myDataTable.Select ();  

Comments

Popular posts from this blog

sql - dynamically varied number of conditions in the 'where' statement using LINQ -

asp.net mvc - Dynamically Generated Ajax.BeginForm -

c++ - QtQuick: QQmlApplicationEngine failed to load component qrc:/main.qml:23 Invalid attached object assignment -