0

我在此代码中收到非声明错误。

    Line 23:         If Not Page.IsPostBack Then
    Line 24: cmbY.DataSource = rsFirehose("SELECT LeagueTypeKey, LeagueTypeDescription FROM LeagueType " & _**
    Line 25:                 "WHERE LeagueTypeKey=0 or (Appkey=" & glngAppKey & " AND LeagueTypeKey IN (SELECT Distinct YKey FROM " & _
    Line 26:                 "Division WHERE DivisionTypeKey=" & soaDivisionTypeBracket & ")) ORDER BY LeagueTypeDescription")

第 24 行是错误所在:它表示未声明名称“cmbY”。我该如何申报?

4

1 回答 1

0

纠正这个错误

1.检查控件的拼写 2.检查元素的范围 3.检查成员访问运算符

如果您发布您的代码,那么我们可以很好地找到它......所以发布您的代码

于 2012-11-17T10:30:03.313 回答