Exemple #1
0
        private void LoadUsers()
        {
            try
            {
                cbNetworkName.Items.Clear();

                using (DataStuff sn = new DataStuff())
                {
                    DataTable dt = sn.GetNetworkSystemUsers();

                    if (dt.Rows.Count > 0)
                    {
                        foreach (DataRow row in dt.Rows)
                        {
                            cbNetworkName.Items.Add(row["QTNumber"].ToString());
                        }
                    }
                }
            }

            catch
            {
            }
        }