Information générale
Catégorie:
Code, syntaxe and commandes
Versions des environnements
Network:
Windows 2008 Server
>Hi,
>Thank you.
>
>I tried out the code (code posted here and also from Jimmy one), and found that it is not generated in sequence as well. The way I test is
>
>1. Defined an array contains 5 elements.
>2. Call the COMBGuid 5 times and assigned the return value to each element accordingly 0..1..2..3..4..5
>3. Copy the guid value of each array elements to guid column of each record in table.
>4. ORDER the guid column
>
>Result, the sequence of record doesn't same as the order of array element.
>
>Is it the right way to test?
>
>Please advice. Thank you
Hi,
The link Cetin provided in a previous post has C# code to create the COMBGuid - looks like it needs to be more complex than my sample ! Even after the more complex way of getting the Date derived byte[] I see that both arrays are reversed.
Did Cetin's code work for you?
Best,
Viv
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement