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

[ad_1]

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

[ad_2]

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