I am teaching myself a bit of MVC web design. I have a asp.net VB site that I want to try and convert some features to MVC.
I have got my data in a vbhtml page showing, but I need to apply some rules
to say something like, if item.FLT_INCIDENT value is 2, then display the word Request.
I used to use
If e.Row.Cells(2).Text = "2" Then
e.Row.Cells(2).Text = "Request"
RequestImage.Visible = True
e.Row.Cells(2).Text = "Incident"
IncidentImage.Visible = True
when it was in a Grid View.
I don't understand if I should use a helper function or not.