Consider the following code:-
SPListItemCollection collListItems = emp_info.GetItems(query);
dt = collListItems.GetDataTable();
Now i want to convert the dt object back to SPListItemCollection object
Is this possible in one of the following ways
1.)
SPListItemCollection collec1= dt as SPListItemCollection;
2.)
SPListItemCollection collec1= (SPListItemCollection)dt;
If not is there any other way where i can convert DataTable object back to a SPListItemCollection object.
Anyone with any ideas, Thanks....