无法从Datagridview的ComboBox中选择项目 [英] Can't select item from ComboBox in Datagridview

查看:68
本文介绍了无法从Datagridview的ComboBox中选择项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在datagridview中绑定组合框列,该组合的字体是zawgyi字体,不是unicode.
当我从此组合中选择一个时,始终显示第一个值.
我能做些什么?请帮帮我!

I''m binding combobox column in datagridview which combo''s font is zawgyi font it is not unicode.
When I choose one from this combo, first value is always showing.
What can I do? Pls, help me!

推荐答案

我想你的意思是说,当您从组合框中选择一个值时,选择将返回到combox列表中的第一项. br/>
如果是这样,则请将组合框的自动回发设置为false.因为每次您进行选择时,页面都会回发,并且组合框将被初始化.

希望有帮助.
I think you meant to say that when you select a value from combo box, the selection goes back to first item in combox list.

If it is so, then please set the Autopostback of combo box to false. Because everytime when you will make selection, page will postback and combobox will be intialized.

Hope that helps.


这篇关于无法从Datagridview的ComboBox中选择项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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