Show Label in GridView cell based on status column using C# in ASP.Net.
From my gridview i want to display the text 'cylinder' if the e.Row.Cells[2].Text ='3' .Snap shot of my gridview

that is i want the third column to display the text cylinder if the column value is cylinder.
My code
please help