Ejemplo n.º 1
0
    void BindGridItemSupply(string ItemName)
    {
        MI5RSRDPTableAdapter SupplyItemAdapter = new MI5RSRDPTableAdapter();

        gvSupply.DataSource = SupplyItemAdapter.GetDataByWhLocItemNo(ItemName, ddlToWarehouse.SelectedItem.Text, ddlToLocation.SelectedItem.Text);
        gvSupply.DataBind();
    }
Ejemplo n.º 2
0
    void BindGridItemSupply(string ItemName)
    {
        MI5RSRDPTableAdapter SupplyItemAdapter = new MI5RSRDPTableAdapter();

        if (rblTransactionType.SelectedIndex == 0)
        {
            gvSupply.DataSource = SupplyItemAdapter.GetDataByWhLocItemNo(ItemName, ddlSupplyFromWarehouse.SelectedItem.Text, ddlSupplyFromLocation.SelectedItem.Text);
        }
        else
        {
            gvSupply.DataSource = SupplyItemAdapter.GetDataByWhLocItemNoReturnTransaction(ItemName, ddlSupplyFromWarehouse.SelectedItem.Text, ddlSupplyFromLocation.SelectedItem.Text);
        }

        gvSupply.DataBind();
    }