I am getting the error in the inner foreach while using Select in datatable.
Here is the code I tried so far
foreach (DataRow drOuter in dtLogic.Select("Name='>' OR Name='='"))
{
foreach (DataRow drInner in dtLogic.Select("ParentId=" + Convert.ToInt64(drOuter["Id"]) + ""))
{
}
}
where Convert.ToInt64(drOuter["Id"]) have the value 2107362180 when I checked in Immediate Window.
Then why does it throw the below error?
