Thanks for your suggestion. I would have never come up with this kind of code.
Interestingly, the dropdownlist values are mixed up completely now.
Whereas the DropDownList in Row 1 has the 2 values correct values + the two values from the next row/DropDownList
DropDownList in Row 2 has the 2 values from the first row, the correct values, + the 2 values from row 3
finally DropDownList in row 3 has the 3 values from row 2 and its own 2 correct values.
How on earth can that be ?
many thanks again,
polynaux
PS: the sql query works correctly
PS2 : maybe the error has to do with the
...gvr.FindControl("DropDownListC_Values")... <- since every dropdownlist in the rows is called "DropDownListC_Values", and that is why they are added up (the values)
polynaux
Member
195 Points
775 Posts
Re: Incorrect method signature: ObjectDataSource funktionality for the GridView.RowCreated event
Jan 31, 2008 04:28 PM|LINK
Hi ecbruck !
Thanks for your suggestion. I would have never come up with this kind of code.
Interestingly, the dropdownlist values are mixed up completely now.
Whereas the DropDownList in Row 1 has the 2 values correct values + the two values from the next row/DropDownList
DropDownList in Row 2 has the 2 values from the first row, the correct values, + the 2 values from row 3
finally DropDownList in row 3 has the 3 values from row 2 and its own 2 correct values.
How on earth can that be ?
many thanks again,
polynaux
PS: the sql query works correctly
PS2 : maybe the error has to do with the
...gvr.FindControl("DropDownListC_Values")... <- since every dropdownlist in the rows is called "DropDownListC_Values", and that is why they are added up (the values)