Hello, I have a .net Windows Service developed in C#. OnStart of the service I am calling a function that stores the serviceName,DateTime in a ServiceLog sql Table and returns the ServiceID(ID number from the table).
OnStop I want to update the same record with the StopDateTime.
I don't know how to store the ID number that is returned above.
Please help