Is there a way to call a method from a class and passing on some parameters with getType() by passing on the objectname of the class?
public void ForeachInsert(object tblnaam, string error)
{
tblnaam.GetType().GetMethod("nameOfMethod");
//where to place string error?
}