<asp:GridView ID="gvAvailabledoctors" runat="server" AutoGenerateColumns="False" AllowPaging="true" PageSize="10" CellPadding="4" CellSpacing="1" Font-Names="Verdana" Width="570px" Font-Size="9pt" ForeColor="#333333" BorderStyle="Solid" BorderColor="White" GridLines="none" onrowcommand="gvAvailabledoctors_RowCommand" onselectedindexchanged="gvAvailabledoctors_SelectedIndexChanged"> <RowStyle BackColor="#F7F6F3" ForeColor="black" CssClass="gridrowstyle" /> <Columns> <asp:TemplateField HeaderText=""> <ItemTemplate> <input name="RadioButtondoc" type="radio" value='<%# Eval("DoctorID") %>' /> </ItemTemplate> <ItemStyle Width="50px" CssClass="gridcol" Wrap="false"/> <HeaderStyle HorizontalAlign="Center" /> </asp:TemplateField> <asp:BoundField DataField="Name" HeaderText="Doctor Name"> <HeaderStyle Width="150px" HorizontalAlign="Center" /> <ItemStyle Width="150px" CssClass="gridcol" Wrap="false"/> </asp:BoundField> <asp:BoundField DataField="Specialist" HeaderText="Specialized IN"> <HeaderStyle Width="220px" HorizontalAlign="Center" /> <ItemStyle Width="220px" CssClass="gridcol" Wrap="false"/> </asp:BoundField> <asp:BoundField DataField="City" HeaderText="Location"> <HeaderStyle Width="300px" HorizontalAlign="Center" /> <ItemStyle Width="150px" CssClass="gridcol" Wrap="true"/> </asp:BoundField> </Columns> <FooterStyle BackColor="#D4A97F" Font-Bold="True" ForeColor="White" /> <PagerStyle BackColor="#D4A97F" ForeColor="Black" HorizontalAlign="Center" Wrap="False" Font-Bold="True" /> <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" /> <HeaderStyle BackColor="#d4a97f" Font-Bold="True" ForeColor="black" Height="20" Wrap="False" Width="75" /> <EditRowStyle BackColor="#999999" /> <AlternatingRowStyle BackColor="#E2DED6" ForeColor="black" /> </asp:GridView>
gvAvailabledoctors_RowCommand
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)