Example #1
0
        private void ShowDGV()
        {
            dgvShow.Rows.Clear();
            Sp_config[] sp = new Sp_configDAL().GetAllData();
            GlobalShare.SystemConfigs = sp.ToList <Sp_config>();
            for (int i = 0; i < GlobalShare.SystemConfigs.Count; i++)
            {
                Sp_config config = GlobalShare.SystemConfigs[i];

                addOneRow(config);
            }
        }
Example #2
0
        private void CopyUrlWnd_Load(object sender, EventArgs e)
        {
            Sp_config[] sp = new Sp_configDAL().GetAllData();

            cbConfig.DataSource = sp;
        }