One Row in DataGrid error
I'm getting the following error:
System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values. Parameter name: value
The table that I am pulling from is only returning one record when I get the error. If I add a second item to the table, everything behaves as it should. Is there something quirky with how the DataGrid distinguishes between AlternatingItem and Item when there is only one record. Has anyone seen this before?
Thanks in advance for any suggestions...I've tried everything I can think of!