title: How to Style Template field in Grid View (aspx page and CSS attached)
body: <p>i am trying to style my second column "mentor name" as i used css it give style to whole Grid i also tried  "control styl css class = (some other css file)" and "item styl horizontal align=right" and also change property align = right by using # in css file but template field do not allow "id" to implement css my .aspx page and css ar below,</p>
  
  <pre><code>.mGrid {   
      width: 100%;   
      background-color: #fff;   
      margin: 0px 0 0px 0;   
      border:  0px #525252;   
  
  }  
  
  .mGrid table
  {
      border:0px;
  }
  
  .mGrid td {   
      padding: 2px;   
      border-width:  0px ;   
      background-color:#3A3F3E;
      color: #fff;   
      text-align:left;
  }  
  td#Mname  {   
      text-align:left;
  }  
  .mGrid th {   
      padding: 4px 2px;   
      color: #fff;  
      background-color:#3A3F3E; 
      border-width: 0px ;   
      font-size: 0.9em;   
      text-align:center;
  }  
  
  
  
  &lt;asp:GridView  Width="300px" ID="GridView1" runat="server" AutoGenerateColumns="False"
                      Font-Size="10pt" OnRowCreated="GridView1_RowCreated" CssClass="mGrid"&gt;
                      &lt;Columns&gt;
                          &lt;asp:BoundField DataField="mentor_id" HeaderText="Image" /&gt;
                          &lt;asp:TemplateField HeaderText="Image"&gt;
                              &lt;ItemTemplate&gt;
                                  &lt;asp:Image ID="Image2" runat="server" ImageUrl="~/images/small_image.png" /&gt;
                              &lt;/ItemTemplate&gt;
                          &lt;/asp:TemplateField&gt;
  
                          &lt;asp:TemplateField  HeaderText="Mentor Name"&gt;
                          &lt;ItemTemplate&gt;
                              &lt;asp:Label ID="Label1" Text='&lt;%#Eval("mentor_FirstName")+ "&lt;/br&gt; " + "&lt;b&gt;Experience: &lt;/b&gt;"+Eval("mentor_experience") %&gt; ' runat="server"&gt;&lt;/asp:Label&gt;
                          &lt;/ItemTemplate&gt;
                          &lt;/asp:TemplateField&gt;
                      &lt;/Columns&gt;
                  &lt;/asp:GridView&gt;
  </code></pre>
  
  <p>hopes for your suggestions thanks in advance </p>