none
specified argument was out of range of valid values RRS feed

  • Question

  • hi all.

    in my form i have a syncfusion grid.

    when my user dbl.click on a row i open a second form showing all the data(like a zoom in on that row).

    all data comes from a datatable, sent from form1(with the grid) to form2.

    in form2 i have a dataview filtered by the current id.

    when the user clicks "OK" i write:

    Mydv[0].BeginUpdate();

    Mydv[0]["Column"]=xxx;

    Mydv.EndUpdate();

    after the second line of code above i get thie error msg:

    "specified argument was out of range of valid values" , why is that?

    Monday, February 12, 2007 2:02 PM

Answers

  • Hi,

    An ArgumentOutOfRangeException occurs when you try to access a value outside the bounds of an array or similar collection.

    I guess that there is sth wrong with the "Mydv" you mentioned above.

    Thanks

    Tuesday, February 13, 2007 9:18 AM