Mike

Mike

  • NA
  • 57
  • 0

Hide button based on SQL query

Nov 11 2010 6:37 AM

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)