I have a conditional statement that needs to be executed on the server-side for my datatable. I'm not too familiar with C# and how I should link this external event to my aspx page. Within my datatable I have a column called "Scheduled Time" that needs to be compared to the server-side clock, and return this event below on the datatable row.

I'm using military time, by the way

```
scheduledTime >15mins; return background-color:red; color:white;
scheduledTime >15min<=30mins; return background-color:yellow color:black;
scheduledTime >30mins<=2hours; return background-color:green color:white;

```