i want to compare versions values of c# code and a another version value stored in database. database value retieve to dataset, but how to caompare with c# code version value
i give example
c# version value is :
Version
vrs = new Version(Application.ProductVersion);
vrs = 1.0.0.0
i stored another version value in Database ,
i can retieve database value to dataset only.
version comparison take
"vrs.CompareTo(new Version(dbversion)"
how to convert dataset value into version model value like 1.0.0.0?