This is a migrated thread and some comments may be shown as answers.

winform radgird cant delete the row

1 Answer 117 Views
GridView
This is a migrated thread and some comments may be shown as answers.
mag mag
Top achievements
Rank 1
mag mag asked on 26 Apr 2010, 06:21 AM
Hi,

I am using rad grid winform ,I could not delete the mid row of the rad grid

this is my code

  Dim cb As New OleDbCommandBuilder(da)
                Dim dt1 As DataTable = CType(RadGridView1.DataSource, DataTable)
                da.Update(dt1)
                dt.AcceptChanges()

{"Exception has been thrown by the target of an invocation."}

This error message is displayed i cant continue my work.please give me the optional answer


1 Answer, 1 is accepted

Sort by
0
Julian Benkov
Telerik team
answered on 29 Apr 2010, 10:22 AM
Hello mag mag,

The code snippet you have sent has not code for deleting rows. Please, check the documentation, and if you still experience troubles, give us a more detailed description of your delete operation and send us a code snippet of the Form object.

Sincerely yours,
Julian Benkov
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
GridView
Asked by
mag mag
Top achievements
Rank 1
Answers by
Julian Benkov
Telerik team
Share this question
or