protected void Page_Load(object sender, EventArgs e) { if (Session["data"] != null) //session checking { if (!IsPostBack) { proptag obj = new proptag(); ddltagpurpose.DataSource = BusinessNewPurchase.dalfilltag(obj); ddltagpurpose.DataBind(); } Label1.Text = ""; } else { Response.Redirect("~/Login.aspx"); } }
public static DataSet dalfilltag(proptag objtag) { return(DalItemPurchase.filltag(objtag)); }
public static DataSet filltag(proptag objtag) { return(DBManager.ExecuteDataset("spFillTag")); }