Click here to Skip to main content
15,912,072 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
how to add checkbox and linkbutton in same cell in dataGridview using C#.net windows application


Regarding
Vignesh....
Posted

 
Share this answer
 
Comments
vignesh9894620769 23-May-12 6:03am    
hai there drawing the control. i want don,t draw the control
first set the property of gv ie "autogeneratecolumn=false",
then add
ASP.NET
<asp:gridview id="GridView1" runat="server" autogeneratecolumns="False" xmlns:asp="#unknown">
    <columns>
    <asp:templatefield>
    <ItemTemplate>
    <asp:checkbox id="chk" runat="server" />
    <asp:linkbutton id="lnk" runat="server">LinkButton</asp:LinkButton>
    </ItemTemplate>
    </asp:TemplateField>
    
    </asp:GridView>
</asp:linkbutton></asp:templatefield></asp:gridview>


gud luck......
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900