示例#1
0
    //fetch final products data in main grid view
    protected void fetch_sell_data()
    {
        // String id = Session["id"].ToString();
        DataTable dt = Select_Logic.Find_Selling_Data("select_selling_data_give_billno_cus_id_sp ", find_customer_id(), Session["bill_no"].ToString());

        grv_prod_selling.DataSource = dt;
        grv_prod_selling.DataBind();

        DataTable dt1 = Select_Logic.Find_Total_Payment("select_total_payment_temp_selling_sp", find_customer_id(), Session["bill_no"].ToString());


        txt_total_amount.Text = dt1.Rows[0][0].ToString();
    }