我收到错误 DataBinding:'Transactions + Location'不包含名为'lngWarehouseID'的属性。
我的aspx:
<telerik:RadGrid AutoGenerateColumns="False" EnableHeaderContextMenu="True" ID="radLocationGrid" Skin="OMSSkin" EnableEmbeddedSkins="false" runat="server" AllowPaging="True" AllowSorting="True" AllowFilteringByColumn="True" PageSize="30" BorderWidth="0px" BorderStyle="None" ShowStatusBar="True" DataSourceID="ldsLocation" GridLines="None" Style="outline: none;" OnRowDrop="radLocationGrid_RowDrop">
<MasterTableView TableLayout="Fixed" CommandItemDisplay="Top" DataKeyNames="lngWarehouseID,bActiveInd" ClientDataKeyNames="lngWarehouseID,bActiveInd" DataSourceID="ldsLocation">
我的班级:
Public Class Location
Public lngWarehouseID As Integer
Public lngCustomsLineItemDiscount As Integer?
Public strCompany As String
Public strCity As String
Public strAddress_1 As String
Public bActiveInd As Boolean
Public dtmDateCreated As DateTime
Public dtmDateUpdated As DateTime
End Class
我是VB的新手。我想念一下吗? 请帮帮我