Victor
Mon Feb 21 07:55:12 CST 2005
CommandBuilder doesn't generate SELECT statement.
Anyway, thanks.
Victor
"Sahil Malik" wrote:
> > Can ADO.NET somehow help me to create/generate SQL SELECT statement based
> > on
> > constructed dataset?
>
> A dataset is completely disconnected from the database - it's got nothing to
> do with a specific database - therefore a dataset in itself cannot help you
> create a databse specific SQL statement.
>
> The closest approximation of what you need is the CommandBuilder object.
>
> - Sahil Malik
>
http://codebetter.com/blogs/sahil.malik/
>
>
>
> "Victor" <Victor@discussions.microsoft.com> wrote in message
> news:329E59F0-FD5D-4F28-BCA8-5079A80B0991@microsoft.com...
> >I am constructing a dataset in memory from one or multiple tables with some
> > links between them. I use existing tables from my database and user can
> > select any combination of them to create his own data source.
> > It is like when you create a view in SQL Server and it creates SQL SELECT
> > statement for you.
> >
> > My question is:
> >
> > Can ADO.NET somehow help me to create/generate SQL SELECT statement based
> > on
> > constructed dataset?
> >
> > Thank you.
> > Victor
> >
>
>
>