0
我試圖訪問一個Web服務我的訪問列表清單,但我收到一條錯誤在web服務
Error 7 'System.Array' does not contain a definition for 'Add' and no extension method 'Add' accepting a first argument of type 'System.Array' could be found (are you missing a using directive or an assembly reference?) C:\Users\kacobilla\Desktop\[email protected]\Clearance System\OCMS_AuditTrailPage.aspx.cs 87 53 C:\...\Clearance System\
我班被命名爲auditclass
auditclass.MyObjectVariableList.Add(DBNull.Value);
這是我的web
private List<object> _myObjectVariableList = new List<object>();
public List<object> MyObjectVariableList
{
get { return _myObjectVariableList; }
set { _myObjectVariableList = value; }
}
注意。我正在使用VS 2005 .net2.0