S
Serdge Kooleman
i have a query: select id, name from Dictionary
field "id" is guid (so not null, and not identity)
i show only "name" in the dataGrid
how to set new id when i insert a new record?
currently VS wizard created insert command for me:
INSERT INTO Dictionary (id, name) VALUES (@id, @name );
SELECT id, name FROM Dictionary WHERE (id = @id)
it is not working "Column "id" doesn't allow nulls. Do you want to correct
the value?"
thank you
field "id" is guid (so not null, and not identity)
i show only "name" in the dataGrid
how to set new id when i insert a new record?
currently VS wizard created insert command for me:
INSERT INTO Dictionary (id, name) VALUES (@id, @name );
SELECT id, name FROM Dictionary WHERE (id = @id)
it is not working "Column "id" doesn't allow nulls. Do you want to correct
the value?"
thank you