title: How do I assign different style to Insert and Cancel buttons of a DetailsView?
body: <p>I have a DetailsView in Insert mode:</p>
  
  <pre><code>&lt;asp:CommandField ShowInsertButton="True" ButtonType="Button" ControlStyle-CssClass="myButton" InsertText="My Insert text" /&gt;
  </code></pre>
  
  <p>Both buttons Insert/Cancel get the same style, of course.</p>
  
  <p><strong>Is it possible to style these two separately to be one Blue and one Yellow?</strong></p>
  
  <p>In FormView you can define the buttons separately like this:</p>
  
  <pre><code>&lt;asp:Button CommandName="Insert" Text="Insert" class="myButtonStyle1"  ID="myButtonID1" runat="server" CausesValidation="True" /&gt;
  
  &lt;asp:Button CommandName="Cancel" Text="Cancel" class="myButtonStyle2"  ID="myButtonID2" runat="server" CausesValidation="False" /&gt;
  </code></pre>
  
  <p>Is there anything similar for DetailsView?</p>