Esempio n. 1
0
        void CreateData()
        {
            string m_huyen;
            grid.ShowLoadingPanel = true;
            grid1.ShowLoadingPanel = true;
            QLThuebaoDomainContext dstb = new QLThuebaoDomainContext();
            if (App.admin_119)
                m_huyen = "ALL";
            else
                m_huyen = "'" + App.nhomtd + "'";

               // m_huyen ="'"+ App.nhomtd.Replace(";","','")+"'";
           // MessageBox.Show(m_huyen);
            InvokeOperation<System.Nullable<int>> p = dstb.Excute_p_getsuaxong119(m_huyen,this.dngaybd.DateTime, this.dngaykt.DateTime);
            p.Completed += new EventHandler(Completed);

        }