Hi,
I manage to load 2 million records in my DataTable; but I get Time out exception when I set the primary key on the DataTable.
How can I set the time exception to wait till the present code is finish?
Thank you, Rune
DataColumn[] o_DataColumn_PrimaryKey = new DataColumn[1]; o_DataColumn_PrimaryKey[0] = vco_DataTable.Columns["MyField"];
vco_DataTable.PrimaryKey = o_DataColumn_PrimaryKey;