GetByKey Method (ItemGrade)
- Last UpdatedNov 06, 2025
- 1 minute read
The GetByKey() method retrieves the specified item grade record from the Item_Grade table.The GetByKey() method retrieves the specified item record from the Item table.
'Declaration
Public Shared Function GetByKey( _
ByVal itemGradeCd As Integer _
) As DataSet
public static DataSet GetByKey(
int itemGradeCd
)
Parameters
- itemGradeCd
- Required. Holds the code of the item grade that is being retrieved.
Return Value
Returns a DataSet that contains the DataRow of the specified item grade in the Item_Grade table. If no matching record for the specified item grade is found, an empty DataSet is returned.