Click here to Skip to main content
16,012,116 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi All,

Can you please help me with the logic to compare the selected value in the combo box against a datatable and if the selected value exixts then pick the corresponding the id.

The table looks like this

DeliveryDelayDayID DeliveryDelayDays
1 0
2 3
3 7.


I retrieved the dtable value in my application as m_dtDeliveryDelayDays as Datatable.

Please help.

Thanks.
Posted
Comments
Sergey Alexandrovich Kryukov 15-Feb-13 17:02pm    
Sound trivial. What have you done so far?
—SA
vidkaat 15-Feb-13 17:05pm    
i have loaded my combo box with the database value.

1 solution

follow this please

click here[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900