You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
vartbl=newDataTable();usingvaradp=newFbDataAdapter("select * from mytable",_cn);adp.Fill(tbl);//tbl.Columns[0].DefaultValue = 10;DataGrid.DataSource=tbl;
DataGrid is enabled Add for user. When user it is moved to the "NewRow" row, the field's default value is "0". This indicates that it has not been added to the DataTable schema.
I can set the default values manually, but it's annoying in a table with many columns.
Datatables and dataadapters are basically obsolete, so although there might be some missing functionality, I wouldn't recommend using those. I'll leave this issue open, but as a very low priority.
Activity
cincuranet commentedon Oct 30, 2025
Datatables and dataadapters are basically obsolete, so although there might be some missing functionality, I wouldn't recommend using those. I'll leave this issue open, but as a very low priority.