i have datagrid which its datasource should be set when it is doubleclicked. so how can i get the row change on it?
as i searched i should use the CurrencyManager, so should i put this line in form load??
myCurrencyManager = (CurrencyManager)dgridRealy.BindingContext[dvRelay, "RelayName"];
which dvRelay is dataview and contains nothing when the form loads?
if it is this right, i'll get this error
No value at index -1.
as i searched i should use the CurrencyManager, so should i put this line in form load??
myCurrencyManager = (CurrencyManager)dgridRealy.BindingContext[dvRelay, "RelayName"];
which dvRelay is dataview and contains nothing when the form loads?
if it is this right, i'll get this error
No value at index -1.