Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ADO Error
Message
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Titre:
Divers
Thread ID:
01387229
Message ID:
01387269
Vues:
49
>I have called a stored proc which returns a DS from SQL. I inserted a row into a table in the DS, then called:
>
>
>public void UpdateDataSet(DataSet DS, string TableName)
>{
>    try
>    {
>        _oAdapter.Update(DS, TableName);
>    }
>    catch (Exception e)
>    {
>        _oException = e;
>    }
>}
>
>
>I'm getting the exception: "Dynamic SQL generation is not supported against a SelectCommand that does not return any base table information"
>
>I need some help here.

Are you sure TableName exists as a table in the DataSet? And what are the DataAdapter's SelectCommand and UpdateCommand set to?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform