Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/csharp/331.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
C# DropDownList中没有更改_C#_.net_Drop Down Menu - Fatal编程技术网

C# DropDownList中没有更改

C# DropDownList中没有更改,c#,.net,drop-down-menu,C#,.net,Drop Down Menu,目标: 用户不应在Combobox中的文本字段中进行任何更改 问题: 我不希望用户在文本字段中进行任何更改。我希望用户在DropDownList中进行选择,而不进行任何文本更改。与ListBox相同的概念。将属性更改为将属性更改为将组合框的DropDownStyle属性更改为“DropDownList”。将组合框的DropDownStyle属性更改为“DropDownList”

目标:
用户不应在Combobox中的文本字段中进行任何更改

问题:

我不希望用户在文本字段中进行任何更改。我希望用户在DropDownList中进行选择,而不进行任何文本更改。与ListBox相同的概念。

将属性更改为

将属性更改为

将组合框的DropDownStyle属性更改为“DropDownList”。

将组合框的DropDownStyle属性更改为“DropDownList”