all groups > visual studio .net general > october 2005 >
You're in the

visual studio .net general

group:

Which newsgroup for Win.Forms.DataGrid C#


Which newsgroup for Win.Forms.DataGrid C# John Sitka
10/14/2005 10:32:12 AM
visual studio .net general:
I'm trying to use a drag/drop (actually throw) but I need the grid to recognize the edit without any typing taking place.
Little pencil on subsequent rows then update when satisfied.

Re: Which newsgroup for Win.Forms.DataGrid C# John Sitka
10/17/2005 8:06:50 AM
Solved by updating the datagrid cell in the drag drop event AND also using BeginEdit() EndEdit() Methods
on the underlying dataset datatable that the grid shows. For some reason when I first tried this it wasn't sticking.
That is, datagrid.Refresh() wasn't showing the changes.

[quoted text, click to view]

AddThis Social Bookmark Button