private void m_cell_MouseDClick(object sender, AxCELL50Lib._DCell2000Events_MouseDClickEvent e) { if (lsvColumn.SelectedIndices.Count != 1) { return; } string id; int p = 0; p = m_cell.GetCurSheet(); id = lsvColumn.SelectedItems[0].Text; _sql = "update DMIS_SYS_REPORT_CELL_COLUMN set R=" + e.row.ToString() + ",C=" + e.col.ToString() + ",P=" + p.ToString() + " where ID=" + id; DBOpt.dbHelper.ExecuteSql(_sql); initColumns(); }
private void axCell1_MouseDClick(object sender, AxCELL50Lib._DCell2000Events_MouseDClickEvent e) { MessageBox.Show("r=" + e.row.ToString() + " c=" + e.col.ToString()); }