如何将组合框中的选定值与数据表进行比较 [英] How to compare the selected value in the combo box against a data table

查看:71
本文介绍了如何将组合框中的选定值与数据表进行比较的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,



你能否帮我一个逻辑,将组合框中的选定值与数据表进行比较,如果所选值超出则选择相应的ID。



表格如下



DeliveryDelayDayID DeliveryDelayDays

1 0

2 3

3 7.





我检索我的应用程序中的dtable值为m_dtDeliveryDelayDays作为Datatable。



请帮助。



谢谢。

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.

推荐答案

请关注此



点击这里 [ ^ ]


这篇关于如何将组合框中的选定值与数据表进行比较的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆