/// <summary>
        /// 按照角色查询
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void btnQueryReader_Click(object sender, EventArgs e)
        {
            //清除所有内容
            this.lvReader.Items.Clear();
            int            readerCount = 0;//提前定义一个接收输出参数的变量
            List <Readers> readerList  = readerService.GetReaderByRole(this.cboRole.SelectedValue.ToString(), out readerCount);

            //给ListView绑定数据源
            foreach (Readers reader in readerList)
            {
                //[1]创建工业ListView对象参数具有唯一性
                ListViewItem lvltem = new ListViewItem(reader.ReaderId.ToString());
                //[2]把List View对象添加到ListView中
                this.lvReader.Items.Add(lvltem);
                //[3]在当前listViewItem对象中添加子项
                lvltem.SubItems.AddRange(new string[] {
                    reader.ReadingCard,
                    reader.ReaderName,
                    reader.Gender,
                    reader.PhoneNumber,
                    reader.RegTime.ToShortDateString(),
                    reader.StatusDesc,
                    reader.ReaderAddress
                });
            }
            //显示当前角色对应总数
            this.lblReaderCount.Text = readerCount.ToString();
        }