2
Answers

Update in access database

abed akhi

abed akhi

12y
1.4k
1
Hi,

I am trying to update a column with the access databse it has been 2 hours now with no result I am writing different update queries and either I am getting syntax error in the update statement or they are updating my column but adding 0 in the place of the older value although that I am specifying a value, what's the problem how can I update a value with the access database using C#?

thanks.
Answers (2)
2
Amit Gupta

Amit Gupta

NA 16.5k 25.7k 7y
@Sundar
 
If client donot want to view any console window to be viewed on the screen then you can go for windows form.
 
Because whenever a console application ran, it shows a black window which might distract the client.
 
For this, change your project output to 'Windows Application' instead of console application.
 
This will let it run on background (without UI).
 
Good Luck! 
Accepted
1
Sundar

Sundar

NA 9.6k 94.5k 7y
Without console App or windows app, the system has to do automatically. I will set the time. Each day by that time, the mail should passed
1
Amit Gupta

Amit Gupta

NA 16.5k 25.7k 7y
Elaborate your word 'Machine learning' in this case.
1
Sundar

Sundar

NA 9.6k 94.5k 7y
Is there any possibility of implementing Machine Learning ? For this ?
1
Sundar

Sundar

NA 9.6k 94.5k 7y
Thank you salman
1
Salman

Salman

NA 2.5k 22.3k 7y
Here Console will never popup each time. It will run everything in background. This is the best way and as per my understanding there is no other way.
thanks. 
1
Sundar

Sundar

NA 9.6k 94.5k 7y
My question is, is there any other way ??? The console should not pop up for each time.
1
Salman

Salman

NA 2.5k 22.3k 7y
Already You Created Console app right. So just create a Schedular and which will run in background.
thanks. 
1
Sundar

Sundar

NA 9.6k 94.5k 7y
Actually I am using task Scheduler for this. I need a better way if any ??. Because, clients does not want to view the console popup at each interval of time. The operatoin should be done automaically in back end 
1
Amit Gupta

Amit Gupta

NA 16.5k 25.7k 7y
You can either use Task Scheduler and set your interval or create a windows service.
 
I recommend to use Task Scheduler for this