Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/csharp/271.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

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/asp.net/37.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# 我无法访问ComboBox对象_C#_Asp.net - Fatal编程技术网

C# 我无法访问ComboBox对象

C# 我无法访问ComboBox对象,c#,asp.net,C#,Asp.net,这可能很容易解决,但无法做到以下几点: protected void gSelectApplied(object sender, EventArgs e) { ComboBox box = (ComboBox)sender; } 因为ComboBox对象在导入的库中不存在。我继续查看了Microsoft文档,但我没有访问System.Windows.*库的权限。您想要。您想要。组合框在ASP.NET中不存在,只有在WinForms中。组合框在ASP.NET中不存在,只有在WinFor

这可能很容易解决,但无法做到以下几点:

protected void gSelectApplied(object sender, EventArgs e)
{
    ComboBox box = (ComboBox)sender; 
}

因为ComboBox对象在导入的库中不存在。我继续查看了Microsoft文档,但我没有访问System.Windows.*库的权限。

您想要。

您想要。

组合框在ASP.NET中不存在,只有在WinForms中。组合框在ASP.NET中不存在,只有在WinForms中。