Example #1
0
    private QueryConditon GetConditonFormUI()
    {
        var condition = new QueryConditon();

        if (!string.IsNullOrEmpty(tbBcCode.Text))
        {
            condition.brand_customer_code = tbBcCode.Text.Trim();
        }
        if (!string.IsNullOrEmpty(tbBcName.Text))
        {
            condition.brand_customer_name = tbBcName.Text.Trim();
        }
        return(condition);
    }
Example #2
0
 protected void btnQuery_Click(object sender, EventArgs e)
 {
     this.Codition = this.GetConditonFormUI();
     Query(0);
 }