Click here to Skip to main content
15,905,782 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi..

i need to insert current time and date in ms access table..

and also
How to delete the particular record in C# with ms access.


can anyone help me plz.. i'm very beginner.

thanks....
Posted
Comments
William Winner 2-Sep-10 18:46pm    
Reason for my vote of 1
pretty easy questions to google and find all you need.

If you're a beginner, you should get some books or find some online tutorials to read. If you're a beginner, you should learn C# first, THEN worry about SQL and databases. It's clear no-one is paying for your code, so learn properly, a bit at a time, instead of expecting to copy and paste code we give you to make something work in ways you don't understand.

You delete a record with SQL, and use ADO.NET to write code to execute it, the same way you write code to get records. You can pass in DateTime.Now as the current date, not sure if Access has a method to get the date, but SQL Server has GetDate()
 
Share this answer
 
Comments
sencsk 2-Sep-10 18:24pm    
ok Thanks.......
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900