Posted on: 9/3/2014 5:18:43 AM | Views : 433

Hi all,
i have added the data to the GridView dynamically and tried the below code

<asp:GridView ID="GridView1" ShowHeader="false" runat="server" Height="90px" Font-Size="Smaller" Width="359px" > <RowStyle HorizontalAlign="Left" VerticalAlign="Middle" /> <Columns> <asp:TemplateField ShowHeader="False"> <ItemTemplate> <asp:Button ID="Button1" runat="server" Text="Seen" CommandName="Seen" CommandArgument='CType(Container,GridViewRow).RowIndex'/> </ItemTemplate> </asp:TemplateField> </Columns> </asp:GridView> Go to the complete details ...