private void BindUserMaster() { DataTable dt = new DataTable(); dt = objBL_AdminDashBoard.BL_LatestUserDashBoard(objML_AdminDashBoard); if (dt.Rows.Count > 0) { GrdUserMaster.DataSource = dt; GrdUserMaster.DataBind(); } }
protected void BindProgramsInfo() { try { DataTable dt = new DataTable(); dt = objBL_Login.BL_UserList(objML_Logn); if (dt.Rows.Count > 0) { GrdUserMaster.DataSource = dt; GrdUserMaster.DataBind(); } } catch (Exception ex) { ClientScript.RegisterStartupScript(this.GetType(), "alert", "alert('" + ex.Message.ToString() + "');", true); } }