Example #1
0
        public void load()
        {
            if (Session["UserId"] == null)
            {
                Response.Redirect("Main.aspx");
            }
            else
            {
                us1 = Session["UserId"].ToString();

                DataSet Ds = new DataSet();
                RL.HEmployeeID = us1;
                Ds             = RL.LoginUserDetail(RL);
                //UserName = Ds.Tables[0].Rows[0].ItemArray[2].ToString();
                //M.IDepID = Ds.Tables[0].Rows[0].ItemArray[7].ToString();
                //Ds = M.DepartmetnRepeterView(M);
                //M.Suggestion = Ds.Tables[0].Rows[0].ItemArray[0].ToString();
                DBM.CMID = us1.ToString();
                Ds       = DBM.ComtEvalRepView(DBM);
                MailRepeater.DataSource = Ds.Tables[0];
                //MailRepeater.SelectMethod = "IdeaId";
                MailRepeater.DataBind();
            }
        }