Example #1
0
    //绑定数据
    private void DisplayTem()
    {
        string pno  = txtPno.Text;
        string des  = txtDes.Text;
        double kilo = 0.0;

        if (txtKilo.Text != "")
        {
            kilo = Convert.ToDouble(txtKilo.Text);
        }

        double price = 0.0;

        if (txtPrice.Text != "")
        {
            price = Convert.ToDouble(txtPrice.Text);
        }
        allInfo             = pm.GetTempByFilter(pno, des, kilo, price);
        anpPage.RecordCount = allInfo.Count();
        DisPlay();
    }