public void GetAllClients()
        {
            var proxy = new BusinessProxy();

            lstvwClients.DataSource = proxy.GetAllClients();
            lstvwClients.DataBind();
        }
Exemplo n.º 2
0
        public void FillClientList()
        {
            var proxy = new BusinessProxy();

            drpClient.DataSource     = proxy.GetAllClients();
            drpClient.DataTextField  = "Name";
            drpClient.DataValueField = "Id";
            drpClient.DataBind();
        }