/// <summary>
        /// 显示图片
        /// </summary>
        /// <param name="id">附件id</param>
        public void ShowImg(string id)
        {
            T_Res_Appendix app = new T_Res_Appendix();

            using (JSZX_ResourceEntities db = new JSZX_ResourceEntities())
            {
                ResourceList relist = new ResourceList();
                app = relist.GetAppendixInfoById(id, db);

                if (app != null)
                {
                    if (app.IMAGE != null)
                    {
                        Response.ContentType = "image/BMP";
                        Response.BinaryWrite(app.IMAGE);
                    }
                    else
                    {
                        FileStream fs     = new FileStream(Server.MapPath("../Images/unknow.png"), FileMode.Open);//可以是其他重载方法
                        byte[]     byData = new byte[fs.Length];
                        fs.Read(byData, 0, byData.Length);
                        if (fs != null)
                        {
                            fs.Close();
                        }

                        Response.ContentType = "image/BMP";
                        Response.BinaryWrite(byData);
                    }
                }
            }
        }