F
Fernando
Hello, I apreciate if someone knows how to do this:
I have the following code:
*******************************************************
Public Sub LoadDataSet()
Dim objDataSetTemp As New Dataset_Names
Me.FillDataSet(objDataSetTemp)
End Sub
Public Sub FillDataSet(ByVal dataset As Dataset_Names)
Me.OleDbAdapter_Names.Fill(dataset)
End Sub
*******************************************************
My question is if someone knows how to make this code
usable for different "Datasets", example:
* Dataset_Names
* Dataset_Addresses
* Dataset_Documents
Or definitly I have to write the same code for each one
of the "Datasets"
Thanks for read this...
I have the following code:
*******************************************************
Public Sub LoadDataSet()
Dim objDataSetTemp As New Dataset_Names
Me.FillDataSet(objDataSetTemp)
End Sub
Public Sub FillDataSet(ByVal dataset As Dataset_Names)
Me.OleDbAdapter_Names.Fill(dataset)
End Sub
*******************************************************
My question is if someone knows how to make this code
usable for different "Datasets", example:
* Dataset_Names
* Dataset_Addresses
* Dataset_Documents
Or definitly I have to write the same code for each one
of the "Datasets"
Thanks for read this...