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(); Ds = DBM.ComtEvalRepViewSend(); int c = Ds.Tables[0].Rows.Count; count.InnerHtml = c.ToString(); MailRepeater.DataSource = Ds.Tables[0]; //MailRepeater.SelectMethod = "IdeaId"; MailRepeater.DataBind(); Ds = DBM.ComtEvalRepViewSendcomplete(); int chod = Ds.Tables[0].Rows.Count; counthod.InnerHtml = chod.ToString(); MailRepeatercomplete.DataSource = Ds.Tables[0]; //MailRepeater.SelectMethod = "IdeaId"; MailRepeatercomplete.DataBind(); Ds = DBM.ComtEvalRepViewSendreject(); int crej = Ds.Tables[0].Rows.Count; countrej.InnerHtml = crej.ToString(); MailRepeaterreject.DataSource = Ds.Tables[0]; //MailRepeater.SelectMethod = "IdeaId"; MailRepeaterreject.DataBind(); } }
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(); Ds = DBM.ComtEvalRepViewSend(); MailRepeater.DataSource = Ds.Tables[0]; //MailRepeater.SelectMethod = "IdeaId"; MailRepeater.DataBind(); } }