I would like to select the row and highlight to Red if status equal to Offline.
How can i do it in ASP .NET?
I saw quite alot of example talking about protected void OnRowCreated(object sender, GridViewRowEventArgs e).
I should create the class in Controller? or View? Very confuse on the new MVC >_<
Please help
I tried the method CSS TD Class to red, but i could not get it work. Any idea?
My code as follow:-
Next
It showed all red. I am using ASP .NET VB MVC4