partial void UpdateINVBagFair(INVBagFair instance);
partial void DeleteINVBagFair(INVBagFair instance);
partial void InsertINVBagFair(INVBagFair instance);
protected void ddlWeight_SelectedIndexChanged(object sender, EventArgs e) { if (Convert.ToInt32(ddlWeight.SelectedIndex) > 0) { int fairID = int.Parse(ddlWeight.SelectedValue); BagManager bagManager = new BagManager(true); _BagFair = bagManager.GetFairByID(fairID); txtBagFair.Text = _BagFair.BagFair.ToString(); int totalFair = Convert.ToInt32(txtBagNo.Text) * Convert.ToInt32(txtBagFair.Text); txtTotalFair.Text = totalFair.ToString(); } txtAdvance.Enabled = true; }