Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
CreateEntityList error
Message
De
14/10/2008 11:28:35
Timothy Bryan
Sharpline Consultants
Conroe, Texas, États-Unis
 
 
À
14/10/2008 11:18:34
Sid Meyers
Omegaware Consulting, Inc.
Minnesota, États-Unis
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Versions des environnements
Environment:
VB 9.0
OS:
Windows XP SP2
Network:
Windows 2008 Server
Database:
MS SQL Server
Divers
Thread ID:
01354843
Message ID:
01354849
Vues:
22
This message has been marked as the solution to the initial question of the thread.
Hi Sid,

>VS2008 & MM.NET 2008
>
>I'm trying to use the CreateEntityList() found in the documentation:
>
>
>Public Function GetCategoriesEntityList() As List(Of CategoriesEntity)
>
>    Dim DataReader As IDataReader = Me.ExecSprocReader("CategoriesSelect")
>
>    Return Me.CreateEntityList(Of CategoriesEntity)(DataReader)
>
>End Function
>
>
>I get the error that mmbindinglist can't be converted to generic.list.
>
>Bug or Operator Error?
>
>Thanks,
>-Sid.

Well, in this case Operator Error (bg) You need to return an mmBindingList() type rather than an List() type
Public Function GetCategoriesEntityList() As mmBindingList(Of CategoriesEntity)
Tim
Timothy Bryan
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform