<?xml version="1.0" encoding="utf-8"?>
<Type Name="GridViewRowEventHandler" FullName="System.Web.UI.WebControls.GridViewRowEventHandler">
  <TypeSignature Language="C#" Value="public delegate void GridViewRowEventHandler(object sender, GridViewRowEventArgs e);" />
  <AssemblyInfo>
    <AssemblyName>System.Web</AssemblyName>
    <AssemblyVersion>2.0.0.0</AssemblyVersion>
  </AssemblyInfo>
  <Base>
    <BaseTypeName>System.Delegate</BaseTypeName>
  </Base>
  <Parameters>
    <Parameter Name="sender" Type="System.Object" />
    <Parameter Name="e" Type="System.Web.UI.WebControls.GridViewRowEventArgs" />
  </Parameters>
  <ReturnValue>
    <ReturnType>System.Void</ReturnType>
  </ReturnValue>
  <Docs>
    <param name="sender">To be added.</param>
    <param name="e">To be added.</param>
    <since version=".NET 2.0" />
    <remarks>
      <attribution license="cc4" from="Microsoft" modified="false" />
      <para>Before the <see cref="T:System.Web.UI.WebControls.GridView" /> control can be rendered, a <see cref="T:System.Web.UI.WebControls.GridViewRow" /> object must be created for each row in the control. The <see cref="E:System.Web.UI.WebControls.GridView.RowCreated" /> event is raised each time a row in the <see cref="T:System.Web.UI.WebControls.GridView" /> control is created. This allows you to provide an event-handling method that performs a custom routine, such as adding custom content to a row, whenever this event occurs.</para>
      <para>Similarly, each row in the control must be bound to a record in the data source before the <see cref="T:System.Web.UI.WebControls.GridView" /> control can be rendered. The <see cref="E:System.Web.UI.WebControls.GridView.RowDataBound" /> event is raised when a data row (represented by a <see cref="T:System.Web.UI.WebControls.GridViewRow" /> object) is bound to data in the <see cref="T:System.Web.UI.WebControls.GridView" /> control. This allows you to provide an event-handling method that performs a custom routine, such as modifying the values of the data bound to the row, whenever this event occurs.</para>
      <para>When you create a <see cref="T:System.Web.UI.WebControls.GridViewRowEventHandler" /> delegate, you identify the method that will handle the event. To associate the event with your event handler, add an instance of the delegate to the event. The event handler is called whenever the event occurs, unless you remove the delegate. For more information about event-handler delegates, see <format type="text/html"><a href="d98fd58b-fa4f-4598-8378-addf4355a115">Events and Delegates</a></format>.</para>
    </remarks>
    <summary>
      <attribution license="cc4" from="Microsoft" modified="false" />
      <para>Represents the method that handles the <see cref="E:System.Web.UI.WebControls.GridView.RowCreated" /> and <see cref="E:System.Web.UI.WebControls.GridView.RowDataBound" /> events of a <see cref="T:System.Web.UI.WebControls.GridView" /> control.</para>
    </summary>
  </Docs>
</Type>