c# - how to insert rows into gridview -
c# - how to insert rows into gridview -
sir, want have insert link functionality insert rows gridview have auto generate edit , delete in gridview in asp.net,. how it?can u provide me links.
hope have understood question , solution might help you..
solution:
<asp:gridview id="gridview1" runat="server" allowpaging="true" allowsorting="true" autogeneratecolumns="false" pagesize="2" autogeneratedeletebutton="true" autogenerateeditbutton="true" datakeynames="theid" datasourceid="sqldatasource1" > <pagersettings mode=numericfirstlast /> <columns> <asp:templatefield> <itemtemplate> <asp:hyperlink id="hyperlink1" runat="server" navigateurl="default2.aspx">hyperlink</asp:hyperlink> </itemtemplate> </asp:templatefield> <asp:boundfield datafield="theid" headertext="id" readonly="true" sortexpression="theid" /> <asp:boundfield datafield="thename" headertext="name" sortexpression="thename" /> </columns>
c# asp.net
Comments
Post a Comment