2
Answers

Hide button based on SQL query

Mike

Mike

14y
2k
1

Hi
I am trying to write a c# asp.net web app that shows which SQL jobs are running. The web app has start and stop buttons but I only want to show the start button if the job is stopped or show the stop button if the job is currently running. So how do I hide buttons based on the results of a SQL query.
Thanks
Mike

Attachment: codesnippet.zip

Answers (2)