GetByKey Method (LaborDept)
- Last UpdatedNov 06, 2025
- 1 minute read
The GetByKey() method retrieves the specified labor department record from the Labor_Dept table
Parameters
- deptId
- Required. Holds the ID of the labor department that is being retrieved.
Return Value
Returns a DataSet that contains the DataRow of the specified labor department in the Labor_Dept table. If no matching record for the specified labor department is found, an empty DataSet is returned.