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

Edit and Insert for InPlace editing

3 Answers 108 Views
Grid
This is a migrated thread and some comments may be shown as answers.
newbie
Top achievements
Rank 1
newbie asked on 22 Apr 2008, 05:25 PM
I have a datagrid with InPlace editing.

I want to populate the values in a dataset on update or add new record.
How do i get the values of the grid row?

3 Answers, 1 is accepted

Sort by
0
Brandon
Top achievements
Rank 1
answered on 22 Apr 2008, 06:32 PM
Check out the examples.

Looks something like:

Dim _ComboBoxValue As Integer = CType(editedItem.EditManager.GetColumnEditor("ComboBoxName"), GridDropDownColumnEditor).SelectedValue 
Dim _TextBoxValue As String CType(editedItem.EditManager.GetColumnEditor("TextBoxName"), GridTextColumnEditor).Text 

Outside of the For loop the example uses
0
Accepted
Princy
Top achievements
Rank 2
answered on 25 Apr 2008, 10:21 AM
Hi Newbie,

You can also go through the following help document link.
Insert/Update/Delete at database level with queries

Princy.
0
newbie
Top achievements
Rank 1
answered on 25 Apr 2008, 05:15 PM
Thanks!
Tags
Grid
Asked by
newbie
Top achievements
Rank 1
Answers by
Brandon
Top achievements
Rank 1
Princy
Top achievements
Rank 2
newbie
Top achievements
Rank 1
Share this question
or