Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Stupid newbie trick! - changing the SQL of OleDbAdapter
Message
De
14/11/2003 11:07:26
 
 
À
14/11/2003 10:20:27
Information générale
Forum:
ASP.NET
Catégorie:
Migration
Divers
Thread ID:
00849817
Message ID:
00849908
Vues:
22
Bingo! That does the trick. But if I wanted to change the fields returned would I muck up the DataSet object?
Glenn

>>I am trying to change the SQL statement of an OleDbAdapter on a Vb.Net Winform program as I would a SQL pass-thru. I have tried to change the .SelectCommand.SelectText, but I am not very successful with this approach. Is this allowed and if not how can I dynamically Fill a DataSet object?<
>
>Glenn,
>
>You need to change the SqlCommand.CommandText (I think that's the right object, I don't have .NET loaded on this PC, so this is off the top of my head). Try it and see if that takes care of it. If not, maybe you could post the code that doesn't seem to be working.
>
>~~Bonnie
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform