chakanhuifu.aspx.cs
上传用户:lishan0805
上传日期:2019-12-08
资源大小:12048k
文件大小:1k
源码类别:

OA系统

开发平台:

C#

  1. using System;
  2. using System.Data;
  3. using System.Configuration;
  4. using System.Collections;
  5. using System.Web;
  6. using System.Web.Security;
  7. using System.Web.UI;
  8. using System.Web.UI.WebControls;
  9. using System.Web.UI.WebControls.WebParts;
  10. using System.Web.UI.HtmlControls;
  11. using COM.OA.Entity;
  12. using COM.OA.BLL;
  13. using System.Collections.Generic;
  14. public partial class qs_wenjian_chakanhuifu : System.Web.UI.Page
  15. {
  16.     protected void Page_Load(object sender, EventArgs e)
  17.     {
  18.         if (!IsPostBack) {
  19.        string id= this.Request.QueryString["f_takeu_id"];
  20.        int jieshouid = Int32.Parse(id);
  21.       
  22.         string where1 = "fre_u_id='{0}'";
  23.        where1 = string.Format(where1, jieshouid);
  24.        IList<filerevert> listhuifu = filerevertBLL.Select(where1);
  25.        filerevert fh = listhuifu[0];
  26.        this.txtFHneirong.Text = fh.fre_content;
  27.        this.txtHuiTime.Text = fh.fre_reverttime.ToString();
  28.         
  29.         //文件名ID查名
  30.        int fnameid = fh.fre_f_id;
  31.        string where2= "f_id='{0}'";
  32.        where2 = string.Format(where2, fnameid);
  33.        IList<files> listhf = filesBLL.Select(where2);
  34.        files fs = listhf[0];
  35.         //回复的文件名
  36.        this.lbFNameId.Text = fs.f_filename;
  37.    }
  38.         
  39.     }
  40. }