edit memory DataTable

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,
I created simple dataTable (one field numeric, one string). Then I prepared
dataConnector and put DataGridView on the form. In datagrid I can edit now
numeric field but string field after post is clear (NULL value). Can anyone
help?
Thanks
 
Petez , it's hard to tell just from that. The field isn't null before hand
but is afterward? How are you handingl the update?
 
My table is a memory table? (no connection to database). When I saw that
values in numeric field are stored, I thought why value in string column are
not stored? I didnt write anything - all job done by IDE. When I return to
any record I can edit numeric field but string column is enabled/not
readonly/i can edit it but when I move to next record value is missing. I
dont write any events handlers (on change grid node, on table before post or
something like that).
 
Yes, in ADO.NET there are only 'memory' DataTables. But is there a value
there in the string column and when you move it disappears?
 
Back
Top