Groups > Asp .Net > Data Access and ObjectDataSource Control > Re: TableAdapter - get limited columns




TableAdapter - get limited columns

TableAdapter - get limited columns
Thu, 3 Apr 2008 18:58:18 +0000
I'm new to the Dataset Designer and I'm wondering how to create a select
statement in the same TableAdapter returning only say one column from the table.
it tells me that it's a different schema. How do i get around this?
Post Reply
Re: TableAdapter - get limited columns
Thu, 3 Apr 2008 19:07:12 +0000
Just accept the error. This is just telling you that your query result set does
not match that returned by your default SELECT.
Post Reply
Re: TableAdapter - get limited columns
Thu, 3 Apr 2008 19:17:05 +0000
But it still returns the other columns I don't necessarily want...
Post Reply
Re: TableAdapter - get limited columns
Thu, 3 Apr 2008 22:49:19 +0000
I haven't tried this, bu are you saying that if you write a query for your
TableAdapter that only returns a single column, all columns are actually being
returned?
Post Reply
Re: TableAdapter - get limited columns
Mon, 7 Apr 2008 11:46:44 +0000
If i define the adapter to return all (3) columns, and I write a new query and
really only want one to be retruned, it'll return the others, but they will be
null. Do they always have to return data in the data schema defined by the
Adapter?
Post Reply
<< Previous 1 2 Next >>
( Page 1 of 2 )
about | contact