int value = ((IConvertible)ExecuteScalarQuery(partID, sid)).Int32(null));
<pre lang="cs">int test = int.Parse(string.Format("{0}", myobject))
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)