Dear All
I want to get select a row when i click on button in gridview
this is my code:
<asp:GridView ID="grdvwIndiMemSlab" runat="server" AutoGenerateColumns="False" CellPadding="4"
ForeColor="#333333" Width="457px" OnRowDataBound="grdvwIndiMemSlab_RowDataBound"
OnRowCommand="grdvwIndiMemSlab_RowCommand" GridLines="None">
<FooterStyle BackColor="#990000" Font-Bold="True" ForeColor="White" />
<RowStyle BackColor="#FFFBD6" ForeColor="#333333" />
<Columns>
<asp:TemplateField>
<HeaderStyle BorderWidth="1" VerticalAlign="top" />
<ItemStyle Width="50px" BorderWidth="1" VerticalAlign="Top" />
<ItemTemplate>
<asp:LinkButton runat="server" CommandName='<%#Eval("ExpectedDate") %>' ID="btnSelect"
CommandArgument='<%#Eval("MemberID") %>' Text="Select"></asp:LinkButton>
</ItemTemplate>
</asp:TemplateField>
</Columns>
<PagerStyle BackColor="#FFCC66" ForeColor="#333333" HorizontalAlign="Center" />
<SelectedRowStyle BackColor="#FFCC66" Font-Bold="True" ForeColor="Navy" />
<HeaderStyle BackColor="#990000" Font-Bold="True" ForeColor="White" />
<AlternatingRowStyle BackColor="White" />
</asp:GridView>
but not working it please help me.
thanks...