コード例 #1
0
        private void BindData()
        {
            DataTable dt_GetAccount = objClsAccount.GetAccountByCustomerCode(0, "", 1);

            GVAccount.DataSource = dt_GetAccount;
            GVAccount.DataBind();
        }
コード例 #2
0
        protected void btnSearchCustomer_Click(object sender, EventArgs e)
        {
            string    CustomerName            = txtCustomerNameS.Text;
            DataTable dt_GetAccountByCustomer = objClsAccount.GetAccountByCustomerCode(0, CustomerName, 1);

            GVAccount.DataSource = dt_GetAccountByCustomer;
            GVAccount.DataBind();
        }