コード例 #1
0
        /// <summary>
        /// 获取消息数据
        /// </summary>
        /// <returns></returns>
        /// <remarks></remarks>
        private DataTable  GetMessage()
        {
            DataTable table = new DataTable();

            try
            {
                //根据当前页获取信息
                MessageInfo Message = new MessageInfo();
                table = Message.GetMessageData(searchinfo, pageIndex, pagesize);
            }
            catch (Exception ex)
            {
                MessageBox.Show(ex.Message);
            }
            return(table);
        }