quando gli passo un valore all store
che è un id
di valore esempio 12

mi da questo errore

System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index at System.Collections.ArrayList.get_Item(Int32 index)


Però se questa store la faccio partire da SQL con lo stesso valore, funziona benissimo.

Come mai?