jfackler
Well-known member
I have an array of datarows that I would like to save and recall.
I am using a ms access db for my data, and have tried to serialize the array (a selection of datarows selected from a table of employees holding comments along with nominations for the employee of the month) with no success.
I cant seem to wrap my head around a solution, or my solutions are not working.
Any suggestions would be greatly appreciated.
I am not getting an error with the above solution, however, I am also not saving the datarows either.
Jon
I am using a ms access db for my data, and have tried to serialize the array (a selection of datarows selected from a table of employees holding comments along with nominations for the employee of the month) with no success.
I cant seem to wrap my head around a solution, or my solutions are not working.
Any suggestions would be greatly appreciated.
Code:
areomcomment = Me.dataset1.Tables("Employees").Select("EOMNom = " & EOM & "")
Dim bif As System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
Dim fis As New FileStream("C:\Program Files\Payroll\eomcomment.text", FileMode.Create)
bif.Serialize(fis, areomcomment)
fis.Close()
I am not getting an error with the above solution, however, I am also not saving the datarows either.
Jon