Exemplo n.º 1
0
        public void SuggestionTableView()
        {
            DataSet Ds = new DataSet();

            Ds = DBM.CommitteeEvaluvationSendGridView();
            SuggestionGridView.DataSource = Ds.Tables[0];
            SuggestionGridView.DataBind();
        }
        public void SuggestionTableView()
        {
            DataSet Ds = new DataSet();

            Ds = E.FinanceEvaluvationSendGridViewFinanceDetail();
            //if((Ds !=null) (Ds! ="System.Data.DataRowView"))
            //  {
            SuggestionGridView.DataSource = Ds.Tables[0];
            SuggestionGridView.DataBind();
        }
        public void SuggestionTableView()
        {
            DataSet Ds = new DataSet();

            Ds = E.EmpSelectDashboard("");
            //if((Ds !=null) (Ds! ="System.Data.DataRowView"))
            //  {
            SuggestionGridView.DataSource = Ds.Tables[0];
            SuggestionGridView.DataBind();
        }
        public void SuggestionTableView()
        {
            E.GridReceiverID = us1.ToString();
            DataSet Ds = new DataSet();

            Ds = E.HOSGridviewDashboard(E);
            //if((Ds !=null) (Ds! ="System.Data.DataRowView"))
            //  {
            SuggestionGridView.DataSource = Ds.Tables[0];
            SuggestionGridView.DataBind();
        }
Exemplo n.º 5
0
        public void SuggestionTableView()
        {
            DataSet Ds = new DataSet();

            Ds = E.RoleswiseDaysrecord("");
            //if((Ds !=null) (Ds! ="System.Data.DataRowView"))
            //  {
            SuggestionGridView.DataSource = Ds.Tables[0];
            SuggestionGridView.DataBind();
            //GridView1.DataSource = Ds.Tables[0];
            //GridView1.DataBind();
        }
        public void SuggestionTableView()
        {
            DataSet Ds = new DataSet();

            Ds = E.IdeaHistoryTracking();
            //if((Ds !=null) (Ds! ="System.Data.DataRowView"))
            //  {
            SuggestionGridView.DataSource = Ds.Tables[0];
            SuggestionGridView.DataBind();
            //GridView1.DataSource = Ds.Tables[0];
            //GridView1.DataBind();
        }
Exemplo n.º 7
0
 public void SuggestionTableView()
 {
     try
     {
         DataSet Ds = new DataSet();
         Ds = M.ManagerGridView();
         SuggestionGridView.DataSource = Ds.Tables[0];
         SuggestionGridView.DataBind();
     }
     catch (Exception e1)
     {
     }
 }
Exemplo n.º 8
0
 public void SuggestionTableView()
 {
     try
     {
         DataSet Ds = new DataSet();
         Ds = MM.FinanceEvaluvationSendGridView();
         SuggestionGridView.DataSource = Ds.Tables[0];
         SuggestionGridView.DataBind();
     }
     catch (Exception e1)
     {
     }
 }
 public void SuggestionTableView()
 {
     try
     {
         DataSet Ds = new DataSet();
         Ds = DBM.CommitteeEvaluvationGridView();
         SuggestionGridView.DataSource = Ds.Tables[0];
         SuggestionGridView.DataBind();
     }
     catch (Exception e1)
     {
     }
 }
        public void SuggestionTableView()
        {
            DataSet Ds = new DataSet();

            Ds = E.BenApprovalUserDashboard("");
            //if((Ds !=null) (Ds! ="System.Data.DataRowView"))
            //  {
            SuggestionGridView.DataSource = Ds.Tables[0];
            SuggestionGridView.DataBind();

            Ds = E.BenApprovalImplDashboard("");
            SuggestionGridViewImpl.DataSource = Ds.Tables[0];
            SuggestionGridViewImpl.DataBind();
        }
Exemplo n.º 11
0
 public void SuggestionTableView()
 {
     try
     {
         DataSet Ds = new DataSet();
         Ds = E.EmpSelectAll();
         //if((Ds !=null) (Ds! ="System.Data.DataRowView"))
         //  {
         SuggestionGridView.DataSource = Ds.Tables[0];
         SuggestionGridView.DataBind();
         //}
     }
     catch (Exception e1)
     {
     }
 }
Exemplo n.º 12
0
 public void SuggestionTableView()
 {
     try
     {
         MA.IEmpId = Session["UserId"].ToString();
         DataSet Ds = new DataSet();
         Ds = MA.EmployeeTeamGridView();
         //if((Ds !=null) (Ds! ="System.Data.DataRowView"))
         //  {
         SuggestionGridView.DataSource = Ds.Tables[0];
         SuggestionGridView.DataBind();
         //}
     }
     catch (Exception e1)
     {
     }
 }
Exemplo n.º 13
0
 public void SuggestionTableView()
 {
     /*  if (Request.QueryString["value"] != "null")
      * {
      *    empidd = Request.QueryString["value"].ToString();
      * }
      */
     try
     {
         if (Session["UserId"].ToString().TrimStart().TrimEnd() != null)
         {
             DataSet Ds = new DataSet();
             if (empidd == "NULL")
             {
                 Ds = E.SuggestionSelectAll();
             }
             else
             {
                 Ds = E.SuggestionSelectAllID(Session["UserId"].ToString().TrimStart().TrimEnd());
             }
             if (Ds.Tables[0].Rows.Count != 0)
             {
                 SuggestionGridView.DataSource = Ds.Tables[0];
                 SuggestionGridView.DataBind();
             }
             else
             {
                 record.Visible = true;
             }
         }
         else
         {
             Response.Redirect("Login.aspx");
         }
     }
     catch (Exception e1)
     {
     }
 }
Exemplo n.º 14
0
        public void EmployeeIDRecordDateWse()
        {
            string EmpValue = Request["EmployeeIdText"];

            //Response.Write("My first ASP script!");
            try
            {
                try
                {
                    if (EmpValue != "" && EmpValue != "System.Data.DataRowView")
                    {
                        Response.Write("<script> alert('Msg ....') </script>");

                        DataSet DS = new DataSet();
                        NSM.IEmpId   = EmpValue.ToString().Trim();
                        NSM.FromDate = FromDateTextBox.Text.ToString();
                        NSM.ToDate   = ToDateTextBox.Text.ToString();
                        DS           = NSM.DefaultFormGridViewDateWise(NSM);
                        SuggestionGridView.DataSource = DS.Tables[0];
                        SuggestionGridView.DataBind();
                    }
                    else
                    {
                        Page.ClientScript.RegisterStartupScript(this.GetType(), "Scripts", "<script>alert('Hola mundo');</script>");
                    }
                }
                catch (Exception ex)
                {
                    throw new Exception("Error Initializing Data Class." + Environment.NewLine + ex.Message);
                }
            }
            catch (Exception ex)
            {
                throw new Exception("Error Initializing Data Class." + Environment.NewLine + ex.Message);
            }
            DID    = Convert.ToInt32(SIDepID.ToString());
            DDesID = Convert.ToInt32(SIDesID);
        }