本文介绍了Drodpownlist1不在intellisense列表中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试着打电话给dropdownlist1,但这不在列表中。



i尝试做这样的事情



函数是静态的

i try to call dropdownlist1 but this is not available in list

i try to do something this like this

function is in static

[WebMethod]
       public static string Jqufunc(int yearP,int )
       {





我尝试过:





What I have tried:

if ((Dropdownlist1.selectvalue) != 0)
                {
                    con = con.Where(c => c.CustName.Contains(Dropdownlist1.selectvalue) || c.InvoiceID == Dropdownlist1.selectvalue);
                }





但Dropdownlist1不在列表中

< asp:DropDownList ID = DropDownList1runat =server

onselectedindexchanged =DropDownList1_SelectedIndexChanged>



but Dropdownlist1 is not in list
<asp:DropDownList ID="DropDownList1" runat="server"
onselectedindexchanged="DropDownList1_SelectedIndexChanged">

推荐答案



这篇关于Drodpownlist1不在intellisense列表中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

11-01 14:11