A andimanro Member Joined Jun 7, 2010 Messages 18 Programming Experience 1-3 Jul 23, 2010 #1 does anyone know the code how to check if someone inserted a data into a database table ? thanks in advance
does anyone know the code how to check if someone inserted a data into a database table ? thanks in advance
jmcilhinney VB.NET Forum Moderator Staff member Joined Aug 17, 2004 Messages 15,113 Location Sydney, Australia Programming Experience 10+ Jul 23, 2010 #2 Execute a query that gets a count of the records in the table using ExecuteScalar. If the result is not zero then someone has inserted data. Upvote 0 Downvote
Execute a query that gets a count of the records in the table using ExecuteScalar. If the result is not zero then someone has inserted data.
cjard Well-known member Joined Apr 25, 2006 Messages 7,081 Programming Experience 10+ Jul 23, 2010 #3 Note, read the DNU link in my signature if youre asking this because you think your database data isnt saving Upvote 0 Downvote
Note, read the DNU link in my signature if youre asking this because you think your database data isnt saving