Hi Sam,
Your SQL data type would be Unique Identifier and you can generate a guid as the default in your HookSetDefaultValues with this
entity.RowPK = Guid.NewGuid();
Tim
>
>I want to use guid's as the primary keys in my SQL tables and as I add a new row, I want to generate a guid for the new row in the DataTable. This should solve the problem of adding multiple new rows in the DataTable before saving them all to the backend SQL database.
>
>How do I generate the guid's? What SQL Data Type should the guid column be?
>
>Sam
>
Timothy Bryan