本文介绍了我如何... BC30451:未声明名称'F2049B01C0080012_16082012_GetData'。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
< anthem:dropdownlist
style = Z-INDEX:22; TEXT-ALIGN:左;
TOP:135px;
LEFT:571px;
WIDTH:154.6667px;
POSITION:绝对 runat = server
CssClass = DrpListAndOthers
backColor =
id = F2049B01C0080012_16082012
TabIndex = 16
可见 = True
BorderStyle = 无 DataSource =' <% #F2049B01C0080012_16082012_GetData%>'
AutoUpdateAfterCallBack = True >
i有一个下拉列表,使用以下函数动态创建。我在页面加载时出现此错误。
Protected Function F2049B01C0080012_16082012_GetData() As ICollection Dim objLVDataObjectClass As New DataObjectClass Dim strLVSQL As String Dim objLVDataTable As DataTable Dim objLVLogon As New LOGON.Cnfgtr_Run Try strLVSQL = "Select CTRLLBCBVAL from CNFGTR_FRM_CTRL_LBCB_FXD " strLVSQL=strLVSQL & "where CTRLINDX='F2049B01C0080012' and STARTDATE='16/08/2012' order by SRLNO" objLVDataTable = objLVDataObjectClass.getSQLDataTable(strLVSQL) F2049B01C0080012_16082012_GetData = objLVLogon.GetICollection(objLVDataTable) Catch Ex As Exception Return Nothing Finally If Not objLVDataTable Is Nothing Then objLVDataTable.Dispose() objLVDataTable = Nothing End If objLVLogon = Nothing End Try End Function
解决方案
这篇关于我如何... BC30451:未声明名称'F2049B01C0080012_16082012_GetData'。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!