| | |
deleting values from the gridview
Please support our ASP.NET advertiser: $4.95 a Month - ASP.NET Web Hosting – Click Here!
![]() |
•
•
Join Date: Oct 2008
Posts: 23
Reputation:
Solved Threads: 0
i have created the code like this
a show delete field will appeat at run time.
i want to delete the row from the gridview.can anybody tell me how to do it?when i will click on the delete field at the execution time.
asp.net Syntax (Toggle Plain Text)
<asp:GridView ID="grd" runat="server" AutoGenerateColumns="False" onselectedindexchanged="grd_SelectedIndexChanged" Width="100%"> <Columns> <asp:BoundField DataField="ID" HeaderText="Budget ID" /> <asp:CommandField HeaderText="Delete" ShowDeleteButton="True" /> </Columns> </asp:GridView>
a show delete field will appeat at run time.
i want to delete the row from the gridview.can anybody tell me how to do it?when i will click on the delete field at the execution time.
Last edited by peter_budo; Nov 7th, 2008 at 4:08 pm. Reason: Keep It Organized - For easy readability, always wrap programming code within posts in [code] (code blocks) and [icode] (inline code) tags.
•
•
Join Date: Aug 2008
Posts: 1,158
Reputation:
Solved Threads: 136
why not just delete the row from your datasource and reload the grid?
Custom Application & Software Development
www.houseshark.net
www.houseshark.net
•
•
•
•
i have created the code like this
asp.net Syntax (Toggle Plain Text)
<asp:GridView ID="grd" runat="server" AutoGenerateColumns="False" onselectedindexchanged="grd_SelectedIndexChanged" Width="100%"> <Columns> <asp:BoundField DataField="ID" HeaderText="Budget ID" /> <asp:CommandField HeaderText="Delete" ShowDeleteButton="True" /> </Columns> </asp:GridView>
a show delete field will appeat at run time.
i want to delete the row from the gridview.can anybody tell me how to do it?when i will click on the delete field at the execution time.
![]() |
Other Threads in the ASP.NET Forum
- Previous Thread: abt ddl
- Next Thread: Load image in report in runtime in ASP.Net
| Thread Tools | Search this Thread |
.net 2.0 3.5 activexcontrol advice ajax alltypeofvideos asp asp.net bc30451 beginner bottomasp.net browser businesslogiclayer c# cac checkbox class commonfunctions compatible content contenttype countryselector courier css dataaccesslayer database datagrid datagridview datagridviewcheckbox datalist deployment development dgv dropdownlist dropdownmenu dynamic dynamically edit embeddingactivexcontrol fileuploader fill findcontrol flash flv formatdecimal formview gridview gudi iframe iis javascript listbox menu microsoft mouse mssql multistepregistration nameisnotdeclared news opera panelmasterpagebuttoncontrols problem redirect registration relationaldatabases reportemail schoolproject security serializesmo.table sessionvariables silverlight smartcard smoobjects software sql sql-server sqlserver2005 ssl textbox tracking treeview unauthorized validatedate validation vb.net video videos virtualdirectory vista visual-studio visualstudio web webapplications webarchitecture webdevelopemnt webdevelopment webprogramming webservice youareanotmemberofthedebuggerusers






