Does anyone know how to write code which displays the contents of a row in a
datagrid, into a label outside of the datagrid. I want this to happen when a
checkbox in a datagrid is checked.
My datagrid is as follows: -
<asp:DataGrid id="DataGrid1" runat="server" Width="100%"
AutoGenerateColumns="False">
<HeaderStyle Height="20px" Font-Bold="False" BackColor="#666699"
ForeColor="#ffffff"></HeaderStyle>
<Columns>
<asp:TemplateColumn HeaderImageUrl="../Images/Tick.gif">
<HeaderStyle HorizontalAlign="Center" Height="20px" Width="10px"
CssClass="dgHeader" VerticalAlign="Middle"></HeaderStyle>
<ItemStyle HorizontalAlign="Center" Width="10px"
VerticalAlign="Middle"></ItemStyle>
<ItemTemplate>
<asp:CheckBox ID="chkSelection" Runat="server"></asp:CheckBox>
</ItemTemplate>
</asp:TemplateColumn>
<asp:BoundColumn HeaderStyle-Font-Bold="True" DataField="FullAddress"
HeaderText="Address">
<ItemStyle Font-Size="10pt" Height="11px" ForeColor="#666699"
CssClass="A"></ItemStyle>
</asp:BoundColumn>
</Columns>
</asp:DataGrid>
Does anyone even know which datagrid event I can use??
Cheers for any help anyone can give me