Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How can I just INSERT a new record into a SQL table?
Message
De
03/06/2007 20:18:47
Mike Cole
Yellow Lab Technologies
Stanley, Iowa, États-Unis
 
 
À
03/06/2007 19:25:48
Information générale
Forum:
ASP.NET
Catégorie:
ADO.NET
Divers
Thread ID:
01230092
Message ID:
01230109
Vues:
18
>All I need to do is add one record to one SQL table using a VB.NET form and I'm getting very frustrated because I'm used to the simplicity of VFP's SQL PassThrough.
>
>I don't need to display the contents of the table with Next, Previous etc.
>
>My VB form already has a Connection, a DataSet, a BindingSource and a TableAdapter, none of which I can get to do what I want.
>
>Worst comes to worst, I can write my data out to a disk file and read it into the SQL table by invoking a stored procedure that uses OPENROWSET with BULK, but there must be a better, easier and for me, simpler, way.
>
>Thanks,
>David.

I know how frustrating it can be when you are starting out. Bonnie gave you an example that should help you. Once you get it figured out, though, you can do some really cool stuff with it!
Very fitting: http://xkcd.com/386/
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform