RemoteDataAdapter.Fill dataset but with command

Hello,

We want to create 1 datatable and fill this datatable with different commands who return the same fields but with completely different complex where structures. Is it possible to use the RemoteDataAdapter.Fill method and, instead of using the query of the table, use a command to fill the datatable?

Thank you.

Hello

More details are need to answer this question.
According to the name of the data adapter class, target platform is .NET, isn’t it?

What do you mean under use a command to fill the datatable? Do you need to use different stored procedures or you just mean that you need to adjust the incoming query by adding more conditions to it?

Also how do you plan to pass the condition that will be used to select the proper data source& Should it be a server call parameter or something stored in the user session?

Regards