Hello,
I am trying to do do row editing and row deleting on a gridview without a datasource. I found some examples but they are all in C#. Here is a snippet of what I have so far. Can anyone help with some VB.Net code. I need to know how what evenhandlers to call and how to call my own update and delete functions.
Protected Sub grdViewSmallToolItems_RowCancelingEdit(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.GridViewCancelEditEventArgs) Handles grdViewSmallToolItems.RowCancelingEdit
grdViewSmallToolItems.EditIndex = -1
SelectBatchItems()
End Sub
<asp:GridView ID="grdViewSmallToolItems" runat="server" Height="76px" Style="position: absolute; left: 26px; top: 19px;"
autogeneratecolumns="false" DataKeyNames="RecordID" AutoGenerateDeleteButton="True" AutoGenerateEditButton="True">
</asp:GridView>
RowEditing and RowDeleting with GridViewHow to do rowediting and rowdeleting with gridview and without datasou
Page 1 of 1
|
|

New Topic/Question
Reply




MultiQuote


|