In order to set the datasource of the combobox in your other form send this DataSet
in your constructor...
Here's an example:
Dim fPD As frmPersonnelDatails = New frmPersonnelDatails('YOUR DS') 'Pass your dataset in the constructor'
fPD.ShowDialog()
In your class: frmPersonnelDatails make sure there's a new constructor...
Sub New(ByVal dSet As DataSet)
cmbDepartment.DataSource = dSet.Tables("department")
cmbDepartment.DisplayMember = "name"
cmbDepartment.ValueMember = "depId"
End Sub
Another option is to declare a new DataSet in your class as so and then set this on the new....
Private datSet As DataSet
Then in your new sub.... you can set it...
Public Sub New(ByVal dSet As DataSet)
datSet = dSet 'Now you have your DataSet and you can use it anywhere you want'
End Sub