public void CargarOperador()
 {
     try
     {
         var objUsers = new WSUsers.SwiftExpressWSUsers();
         var pResult  = "";
         var ds       = objUsers.GetUsers(Session["connectionString"].ToString(), ref pResult);
         if (pResult == "")
         {
             if (ds.Tables[0].Rows.Count > 0)
             {
                 ASPxGridLookup1.DataSource = ds;
                 ASPxGridLookup1.DataBind();
             }
         }
         else
         {
             ScriptManager.RegisterStartupScript(this, GetType(), "ErrorText", "CallError('" + pResult + "');", true);
         }
         objUsers.Dispose();
     }
     catch (Exception ex)
     {
         ScriptManager.RegisterStartupScript(this, GetType(), "ErrorText", "CallError('Error: " + ex.Message + "');", true);
     }
 }
        private void GetAllZones()
        {
            try
            {
                var pResult  = "";
                var objUsers = new WSUsers.SwiftExpressWSUsers();
                _ds = objUsers.GetAllZones(Session["connectionString"].ToString(), ref pResult);

                if (pResult == "")
                {
                    Session["UiListaZona"] = _ds;
                    if (_ds.Tables[0].Rows.Count > 0)
                    {
                        UiListaZona.DataSource = _ds;
                        UiListaZona.DataBind();
                    }
                }
                else
                {
                    ScriptManager.RegisterStartupScript(this, GetType(), "ErrorText", "CallError('" + pResult + "');", true);
                }
            }
            catch (Exception ex)
            {
                ScriptManager.RegisterStartupScript(this, GetType(), "ErrorText", "CallError('Error en carga inicial: " + ex.Message + "');", true);
            }
        }