Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > GridView RowEditing issue

Reply
Thread Tools

GridView RowEditing issue

 
 
DavidC
Guest
Posts: n/a
 
      03-31-2010
I have a GridView inside the edit template of a ListView. I am populating
the GridView with code from a class (see below). When I click the Edit
button it throws the error "The GridView 'gvPayDeductions' fired event
RowEditing which wasn't handled." How do I handle editing when not using a
SqlDataSource control? Thanks.

Dim intCheckID As Int32 = Convert.ToInt32(rowView("CheckID"))
Dim gv As GridView = CType(e.Item.FindControl("gvPayDeductions"),
GridView)
gv.DataSource = PayrollClass.GetDeductionsOnePayCheck(intCheckID)
gv.DataBind()


--
David
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
The GridView 'GridView2' fired event RowEditing which wasn't handl egsdar ASP .Net 0 11-04-2008 04:51 PM
Unable to retrieve contents on RowEditing (to cancel editing) Radu ASP .Net 0 02-01-2008 04:59 PM
GridView RowEditing Requery question dev648237923 ASP .Net Datagrid Control 5 03-05-2007 07:35 AM
Gridview RowEditing event problem =?Utf-8?B?V2lsbCBXaW5u?= ASP .Net 2 04-25-2006 09:12 PM
RowEditing event in GridView Shafia ASP .Net Building Controls 0 04-19-2005 12:29 PM



Advertisments