Newbie question (ado.net / vb.net) 
Author Message
 Newbie question (ado.net / vb.net)

I'm new to ADO.NET and have been reading about it and have managed to create
a little application in VB.NET which reads and updates one table. So far, so
good.

The table has 5 fields, ID(bigint), Code(char), Desc(char), ModId(char) and
ModDate(DateTime).

I would like the datagrid to just show the Code and Desc field, but when the
record is saved, ModId should be filled with currentUser and ModDate should
be filled with the current date/time. Also the Code field should be
uppercase.

How do I do this, I let VS generate all the select/update/insert/delete
commands for the data-adapter and don't want to make changes in this
generated code, but to write all this code myself is not really an option.

Any suggestions ??

TIA
Jurjen de Groot
Netherlands.



Thu, 16 Sep 2004 06:30:54 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. Date problems with XML in ASP.NET / VB.NET- newbie question

2. vb.net / ado.net design question

3. ADO.NET with ASP.NET using VB.NET

4. newbie ado.net question

5. ADO.Net to fetch ActiveDirectory this function bugs in Asp.net but works in Vb.n

6. what create table using ADO.NET to VB.NET

7. VB.Net, Classes and ADO.Net guidelines???

8. VB.Net => Ado.Net = Stored Procedure

9. Memory leak! (ADO.NET, VB.NET)

10. ADO.net VB.net and Oracle

11. VB.Net and Ado.Net Help Please!!!!

12. Dummies guide to ado.net for vb.net???

 

 
Powered by phpBB® Forum Software