Esempio n. 1
0
        private void btnDel_Click(object sender, EventArgs e)
        {
            if (!chkSelectData())
            {
                return;
            }

            string strTmpTable, strTmpWhere;

            lstHint1.Items.Clear();

            strTmpTable = "DT_SAP261";
            strTmpWhere = getSelectNo();

            if (sapClass.delData(strTmpTable, strTmpWhere))
            {
                lstHint1.Items.Add("信息删除成功!");
            }
            else
            {
                lstHint1.Items.Add("信息删除失败!");
            }
            showGridInfo();
        }