"Antonio Prieto" <(E-Mail Removed)> wrote in message
news:Ou$(E-Mail Removed)...
> Yes, but if I don´t use the Fill method of DataAdapter, seems like
> CommandBuilder not create the SQL sentences of my DataAdapter (i.e.
> InsertCommand = Nothing).
>
You are mistaken. There is no relationship between the two.
The CommnadBuilder doesn't set the DataAdapter.InsertCommand, rather it is
invoked when DataAdapter.InsertCommand is null. If you want to see the
CommandBuilder's command, just set
da.InsertCommand = cb.CreateInsertCommand()
> And if I execute Fill over my dataset, the virtual rows are crushed
and
> replaced by the new result of SelectCommand.
>
> Can I make a SelectCommand without results (a Select query which returns 0
> records)???
Sure, but that's not what you want to do. You do that when you want to
create an empty DataTable in your DataSet matching some table in your
database.
David