Пример #1
0
        private void GetData()
        {
            if (this._ItemID.Trim() == "")
            {
                return;
            }
            DataTable dt;

            if (this.objSvc == null)
            {
                this.objSvc = new clsDcl_DoctorWorkstation();
            }
            long ret = objSvc.m_mthGetChangePriceInfo(_ItemID, out dt, "");

            if (dt.Rows.Count == 0)
            {
                DataRow dr = dt.NewRow();
                dr["ITEMNAME_VCHR"] = _ItemName;
                dr["ITEMCODE_VCHR"] = _ItemCode;
                dr["CURPRICE_MNY"]  = _ItemPrice;
                dr["PREPRICE_MNY"]  = "无调价信息";
                dt.Rows.Add(dr);
            }
            this.ctlDataGrid1.m_mthSetDataTable(dt);
        }