D
deko
I need to get the child rows of a DataTable using the foreign key, and then
I need to sort those rows. So I want to get the array of DataRows returned
by GetChildRows into a DataView. Is it possible to insert the DataRow array
into a DataView? Will I have to put each row in the array into a table
first?
dtPrj = database.Tables[tblPrj];
DataRow[] drArray;
DataRow dr = dtPrj.Rows.Find(definitionID);
drArray = dr.GetChildRows(fkPC);
How to get the drArray rows into a DataView?
Thanks in advance.
I need to sort those rows. So I want to get the array of DataRows returned
by GetChildRows into a DataView. Is it possible to insert the DataRow array
into a DataView? Will I have to put each row in the array into a table
first?
dtPrj = database.Tables[tblPrj];
DataRow[] drArray;
DataRow dr = dtPrj.Rows.Find(definitionID);
drArray = dr.GetChildRows(fkPC);
How to get the drArray rows into a DataView?
Thanks in advance.