Пример #1
0
 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");
     }
 }
Пример #2
0
 public static DataSet dalfilltag(proptag objtag)
 {
     return(DalItemPurchase.filltag(objtag));
 }
Пример #3
0
 public static DataSet filltag(proptag objtag)
 {
     return(DBManager.ExecuteDataset("spFillTag"));
 }