Good morning, I need to know if I can do the following or how to do it, currently I sent in a function DataTable
to complete or make a number of pending calculations, but now I need to pass the five or eight tables and I do not want to do one function for each of them, I currently do this:
Public Function mpxporcentaje(ByVal poRow as dsprocesos.tblprocesoRow) as integer
for each tblrow as dsprocesos.tblprocesoRow In dsprocesos.tblproceso
cuenta = cuenta + 1
next
It works for me but now I need to pass the five or the n tables that I have, how can I do to pass the different tables as a parameter and not specify one, they all have the same field that I need.
Greetings