Beispiel #1
0
    protected void Load_GradingList()
    {
        DataTable dt = BLL_Crew_Evaluation.Get_GradingList();

        GridView_Grading.DataSource = dt;
        GridView_Grading.DataBind();
    }
Beispiel #2
0
    protected void Load_GradingList()
    {
        DataTable dt = BLL_Crew_Interview.Get_GradingList();

        GridView_Grading.DataSource = dt;
        GridView_Grading.DataBind();
    }
    protected void Load_GradingList()
    {
        BLL_OPS_Admin OPS_Admin = new BLL_OPS_Admin();
        DataTable     dt        = OPS_Admin.Get_GradingList();

        GridView_Grading.DataSource = dt;
        GridView_Grading.DataBind();
    }
    /// <summary>
    /// Modified by Anjali DT:21-06-2016
    /// To fill gridview after save /update.
    /// </summary>
    protected void Load_GradingList()
    {
        try
        {
            DataTable dt = objBLL.Get_Grades(null);

            if (dt != null)
            {
                if (dt.Rows.Count > 0)
                {
                    GridView_Grading.DataSource = dt;
                    GridView_Grading.DataBind();
                }
            }
        }
        catch (Exception ex)
        {
            string jsSqlError2 = "alert('" + ex.Message + "');";
            ScriptManager.RegisterStartupScript(this, this.GetType(), "jsSqlError2", jsSqlError2, true);
        }
    }