public static int WMAssignDriver(long hndSelectedRec, string OrderID, string TruckDetails)
        {
            iPartRequestClient assignDriver = new iPartRequestClient();
            CustomProfile      profile      = CustomProfile.GetProfile();

            string[] eorder = OrderID.Split(',');
            int      cnt    = eorder.Count();

            for (int i = 0; i <= cnt - 1; i++)
            {
                assignDriver.AssignSelectedDriver(long.Parse(eorder[i].ToString()), hndSelectedRec, TruckDetails, profile.Personal.UserID, profile.DBConnection._constr);
            }
            return(1);
        }