No selectList specified in selectList.

Posts   
 
    
yogiberr
User
Posts: 432
Joined: 29-Jun-2005
# Posted on: 20-Aug-2005 11:21:06   

hiya,

I get the above error when I try to databind a typedList to a winforms datagrid in whidbey. I simply want to bind to the entire contents of the underlying sqlServer table. I might be wrong, but I thought I could simply create a typedList and databind.

<errorSource> ITransaction transactionToUse, int pageNumber, int pageSize) Line 63: { Line 64: IRetrievalQuery selectQuery = DynamicQueryEngine.CreateSelectDQ(fieldsToReturn, DbUtils.DetermineConnectionToUse(transactionToUse), Line 65: selectFilter, maxNumberOfItemsToReturn, sortClauses, relations, allowDuplicates, groupByClause, pageNumber, pageSize); Line 66: <\errorSource>

hmm, any ideas?

cheers, yogi sunglasses

sparmar2000 avatar
Posts: 341
Joined: 30-Nov-2003
# Posted on: 20-Aug-2005 14:01:53   

Ho Yogi, Do you have the opportunity to try this on VS2003 or are you past this.

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39933
Joined: 17-Aug-2003
# Posted on: 20-Aug-2005 15:32:45   

Yogi, please specify the code you use to bind to the grid, and check if the typedlist has actually fields, also please turn on DQE tracing to see what the query is that's being generated.

Frans Bouma | Lead developer LLBLGen Pro
yogiberr
User
Posts: 432
Joined: 29-Jun-2005
# Posted on: 20-Aug-2005 19:46:55   

hiya, My mistake.I had assigned fields to the entity, but not to the typedList, sorry. I don't have VS2003 at home.I use free time to learn new stuff, like VS 2005 and llbGenPro.

many thanks, yogi