need suggestion in Guid autogeneration in dataset

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi al
I have PK with Guid type in typed dataset
Is anybody have any suggestion how 2 implement autogeneration of P
thnks
 
Hiya

You could use the System.Guid.NewGuid().ToString to get a GUID. You will
need to append the braces {} to the beginning and end if your Guid has that
format.

Regards,
Steve.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top