G
Guest
Please look at the code and the following question...
public BindingList<MyStruct> myList ;
foreach ( Object item in myList )
{
MyStruct myStruct = (MyStruct)item;
myStruct .Name = "any new name" ;
///
/// Question: I need to update myList with the updated myStruct, how is the
most
/// efficient way to replace/update the old item in the list
}
Thanks
EitanB
public BindingList<MyStruct> myList ;
foreach ( Object item in myList )
{
MyStruct myStruct = (MyStruct)item;
myStruct .Name = "any new name" ;
///
/// Question: I need to update myList with the updated myStruct, how is the
most
/// efficient way to replace/update the old item in the list
}
Thanks
EitanB