If i understand you well... use
GridView.OnRowDataBound[
^] event.
<asp:gridview id="grdEmployeePeripheral" runat="server" onrowdatabound="RowDataBound" xmlns:asp="#unknown">
</asp:gridview>
protected void RowDataBound(Object sender, GridViewRowEventArgs e)
{
if(e.Row.RowType == DataControlRowType.DataRow)
{
if(e.Row.Cells[0].Text == "Emp" && e.Row.Cells[1].Text == "No")
e.Row.Cells[0].ForeColor = Color.Red;
}
}