[Solved] how to point to a number that correspond value of this number is selected by user?


try this

 IdAccess = from x in OffAcs where 
            x.AccessDeccription == Combobox.SelectedText 
            select x.IdAccess;

or this:

IdAccess = OffAcs.First(x=>x.AccessDeccription == Combobox.SelectedText).IdAccess;

3

solved how to point to a number that correspond value of this number is selected by user?