Versions des environnements
>>Not sure if this is the correct place to post this question, but here goes...
>>
>>I have a VB 2008 data entry form that uses ADO.NET to link to a SQL Server 2008 Developer's Edition Database. Everything is working fine, but when I add a new record, I would like to programmatically set some fields to certain values. I know where to put the code, but have no idea what line of code lets me change the value of a field. In Visual Foxpro, of course I would type REPLACE fieldname WITH value. How the heck do I do this in VB?
>-------------------
>
>You want to insert a new row into a table, and that row should have some default values. Easy to do but from the VFP mind set it will seem complicated.
>
>So do you show an EMPTY row of data in your GUI and allow the user to fill in what they need? Or do you see the row in your GUI and you need to make an update?
Thanks for the reply! I think it comes down to everything looking totally foreign and not understanding how things work. After studying some code and doing some more reading and testing, I got it to work!
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement