Public Function GetProcessingCheckDetailByBatchId(ByVal batchID As Integer) As DataSet Return Me.GetDataSet(("SELECT * FROM ParticipantCheckDetail WHERE BatchId = " + batchID.ToString()), "ProcessingBatchCheckDetails") End FunctionIn my form, I am hydrating the dataset as follows:
Me.dsParticipantCheckDetail = Me.oParticipantCheckDetail.GetProcessingCheckDetailByBatchId(CInt(Me.cboProcessingBatchSelection.Value))Is there any other code I need to make this work?