//private void ultraButton6_Click(object sender, EventArgs e) //{ // if (grid2Index > -1) // { // if (MessageBox.Show("确定要删除匹配的记录吗?", "玉钢集中计系统", MessageBoxButtons.YesNo) == DialogResult.Yes) // { // ArrayList list = new ArrayList(); // list.Add(ultraGrid2.Rows[grid2Index].Cells["FS_WEIGHTNO"].Value.ToString()); // //修改一次匹配罐号 // CoreClientParam ccp = new CoreClientParam(); // ccp.ServerName = "com.dbComm.DBComm"; // ccp.MethodName = "save"; // ccp.ServerParams = new object[] { "WEIGHTMATCH_01.DELETE", list }; // this.ExecuteNonQuery(ccp, CoreInvokeType.Internal); // if (ccp.ReturnCode == 0) // { // QueryMatchWeight(2); // } // } // } // else // { // MessageBox.Show("请选择需要删除的罐号!"); // } //} private void ultraButton7_Click(object sender, EventArgs e) { DataRenew dr = new DataRenew(this.ob); dr.Show(); }
//private void ultraButton6_Click(object sender, EventArgs e) //{ // if (grid2Index > -1) // { // if (MessageBox.Show("确定要删除匹配的记录吗?", "玉钢集中计系统", MessageBoxButtons.YesNo) == DialogResult.Yes) // { // ArrayList list = new ArrayList(); // list.Add(ultraGrid2.Rows[grid2Index].Cells["FS_WEIGHTNO"].Value.ToString()); // //修改一次匹配罐号 // CoreClientParam ccp = new CoreClientParam(); // ccp.ServerName = "com.dbComm.DBComm"; // ccp.MethodName = "save"; // ccp.ServerParams = new object[] { "WEIGHTMATCH_01.DELETE", list }; // this.ExecuteNonQuery(ccp, CoreInvokeType.Internal); // if (ccp.ReturnCode == 0) // { // QueryMatchWeight(2); // } // } // } // else // { // MessageBox.Show("请选择需要删除的罐号!"); // } //} private void ultraButton7_Click(object sender, EventArgs e) { DataRenew dr = new DataRenew(this.ob); dr.Show(); }