M
Michael Kellogg
I'm populating a DataTable using a DataAdapter.Fill() statement. It works
just fine as long as the return is successful. However, when my query
returns no rows, rather than getting a "0" for rows returned (the function
is supposed to return an integer), I get a "System.ArgumentNullException"
apparently because there is nothing to populate the DataTable with.
How can I trap for this without resorting to exception handling?
TIA
Michael
just fine as long as the return is successful. However, when my query
returns no rows, rather than getting a "0" for rows returned (the function
is supposed to return an integer), I get a "System.ArgumentNullException"
apparently because there is nothing to populate the DataTable with.
How can I trap for this without resorting to exception handling?
TIA
Michael