all groups > dotnet windows forms databinding > december 2004 >
You're in the

dotnet windows forms databinding

group:

Datagrid row/column issue


Datagrid row/column issue Nancy
12/20/2004 7:09:53 AM
dotnet windows forms databinding:
Hi:
I have a text on the form to enter a search value. All
records found are displayed in the datagrid.
I click on a row/column of the grid and drag the mouse to
any part of the form.

I type again a new value in the text box to retrieve new
data in the grid. (Data is programmatically binded into
the grid, and datatable and grid are clear before new
searches.)

The problem I have is that the selected row/column value
of the grid remains in the grid while new retrieved data
is displayed on the grid.

Is this a bug?

Nancy.
Re: Datagrid row/column issue Maqsood Ahmed
12/21/2004 2:02:14 AM
I had encountered same problem. It happens with readonly columns. I
tried changing readonly = false before inserting data to the datatable
and marked columns as readonly later on.

Maqsood Ahmed
Kolachi Advanced Technologies
http://www.kolachi.net

*** Sent via Developersdex http://www.developersdex.com ***
AddThis Social Bookmark Button