E46C Can't default values · Issue #1241 · FirebirdSQL/NETProvider · GitHub
[go: up one dir, main page]

Skip to content

Can't default values #1241

@Zeki-Gursoy

Description

@Zeki-Gursoy
create table mytable(field integer default 10);
var tbl = new DataTable();

using var adp = new FbDataAdapter("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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0