protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { DataView view = new DataView(getSegregationData()); DataTable distinctValuesDriver = view.ToTable(true, "Driver"); Driver.DataSource = distinctValuesDriver; Driver.DataTextField = "Driver"; Driver.DataValueField = "Driver"; Driver.DataBind(); DataTable distinctValuesChecker = view.ToTable(true, "Checker"); Checker.DataSource = distinctValuesChecker; Checker.DataTextField = "Checker"; Checker.DataValueField = "Checker"; Checker.DataBind(); PlateNo.DataSource = getSegregationData(); PlateNo.DataTextField = "PlateNo"; PlateNo.DataValueField = "PlateNo"; PlateNo.DataBind(); BCO.DataSource = getBranchCorpOffice(); BCO.DataTextField = "BranchCorpOfficeName"; BCO.DataValueField = "BranchCorpOfficeCode"; BCO.DataBind(); Destination.DataSource = getCityBCO(); Destination.DataTextField = "CityName"; Destination.DataValueField = "CityName"; Destination.DataBind(); } }
protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { BCO.DataSource = getBCO(); BCO.DataTextField = "BranchCorpOfficeCode"; BCO.DataValueField = "BranchCorpOfficeId"; BCO.DataBind(); } }
protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { BCO.DataSource = getBCO(); BCO.DataTextField = "BranchCorpOfficeCode"; BCO.DataValueField = "BranchCorpOfficeId"; BCO.DataBind(); REVENUETYPE.DataSource = getRevenue(); REVENUETYPE.DataTextField = "RevenueUnitTypeName"; REVENUETYPE.DataValueField = "RevenueUnitTypeName"; REVENUETYPE.DataBind(); } }
protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { BCO.DataSource = getBranchCorpOffice(); BCO.DataTextField = "BranchCorpOfficeName"; BCO.DataValueField = "BranchCorpOfficeCode"; BCO.DataBind(); Area.DataSource = getArea(); Area.DataTextField = "RevenueUnitName"; Area.DataValueField = "RevenueUnitName"; Area.DataBind(); setAWB(); //Date.SelectedDate = DateTime.Now; } }
protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { SackNumber.DataSource = getUnbundle(); SackNumber.DataTextField = "SACKNO"; SackNumber.DataValueField = "SACKNO"; SackNumber.DataBind(); BCO.DataSource = getBranchCorpOffice(); BCO.DataTextField = "BranchCorpOfficeName"; BCO.DataValueField = "BranchCorpOfficeCode"; BCO.DataBind(); Origin.DataSource = getCity(); Origin.DataTextField = "CityName"; Origin.DataValueField = "CityName"; Origin.DataBind(); } }
protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { Batch.DataSource = getBatch(); Batch.DataTextField = "BatchName"; Batch.DataValueField = "BatchName"; Batch.DataBind(); BCO.DataSource = getBranchCorpOffice(); BCO.DataTextField = "BranchCorpOfficeName"; BCO.DataValueField = "BranchCorpOfficeCode"; BCO.DataBind(); Area.DataSource = getArea(); Area.DataTextField = "RevenueUnitName"; Area.DataValueField = "RevenueUnitName"; Area.DataBind(); } }
protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { BCO.DataSource = getBranchCorpOffice(); BCO.DataTextField = "BranchCorpOfficeName"; BCO.DataValueField = "BranchCorpOfficeCode"; BCO.DataBind(); BundleNumber.DataSource = getBundle(); BundleNumber.DataTextField = "SackNo"; BundleNumber.DataValueField = "SackNo"; BundleNumber.DataBind(); Destination.DataSource = getCityBCO(); Destination.DataTextField = "CityName"; Destination.DataValueField = "CityName"; Destination.DataBind(); } }