jmcilhinney, plz take it easy, i was just kidding, u know when u get a bit
headache you behave stupid
thx kulrom, I think you r right. but maybe not, because I dont do any add
or modification to the data in the datagrid, only remove selected record
and refresh the grid. I dont use dataset to hold the table for editing. instead,
I only find the pk when one record is selected and remove it from db by a
sqlcommand. the query is
DELETE
FROM CYMUSER
WHERE UID = @UID
rest of my application all use the same thing, i only use dataset for displaying,
any add, modify or remove is performed by sqlcommand that is visually dorpped on the forms
ManicCW, set what field as unique and indentity? from db or my dataset in
the program?