Beispiel #1
0
        public void priorityDataLoad()
        {
            DataSet loadData = new DataSet();

            if (srv.getPriorityList(out loadData))
            {
                foreach (DataRow item in loadData.Tables[0].Rows)
                {
                    int             id              = Convert.ToInt16(item["priority_appeal_id"].ToString());
                    string          name            = item["priority_appeal_name"].ToString();
                    CPriorityAppeal priorityAppItem = new CPriorityAppeal(id, name);
                    priorityAppealItems.Add(priorityAppItem);

                    priorityBox.Items.Add(priorityAppItem);
                }
            }
        }
Beispiel #2
0
        public void priorityDataLoad()
        {
            DataSet loadData = new DataSet();

            if (srv.getPriorityList(out loadData))
            {

                foreach (DataRow item in loadData.Tables[0].Rows)
                {
                    int id = Convert.ToInt16(item["priority_appeal_id"].ToString());
                    string name = item["priority_appeal_name"].ToString();
                    CPriorityAppeal priorityAppItem = new CPriorityAppeal(id, name);
                    priorityAppealItems.Add(priorityAppItem);

                    priorityBox.Items.Add(priorityAppItem);
                }
            }
        }