View Single Post
  #1 (permalink)  
Old July 13th, 2004, 02:26 PM
petersonginae petersonginae is offline
Registered User
 
Join Date: Jul 2004
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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!


Reply With Quote