Exemple #1
0
        public DataSet GetAllInvoice()
        {
            DAL_SendingInvoice dataLayerPS;

            dataLayerPS = new DAL_SendingInvoice();
            return(dataLayerPS.GetAllInvoice());
        }
Exemple #2
0
        private void BindPaymentStatusList()
        {
            DAL_SendingInvoice obj = new DAL_SendingInvoice();
            DataSet            ds;

            ds = obj.GetAllInvoice();
            gvInvoice.DataSource = ds;
            gvInvoice.DataBind();
        }
Exemple #3
0
        protected void btn_search_Click(object sender, EventArgs e)
        {
            DAL_SendingInvoice obj = new DAL_SendingInvoice();
            DataTable          dt  = new DataTable();

            dt = obj.searchcompanyname(tb_search.Text);

            gvInvoice.DataSource = dt;
            gvInvoice.DataBind();
        }