Hi there,
I want to insert data from Input controls to grid.
GridCurrentCell cc = this.gdbgrDtls.CurrentCell;
this.gdbgrDtls[cc.RowIndex, 2].CellValue = frmGroups.Nm;
this.gdbgrDtls[cc.RowIndex, 3].CellValue = frmGroups.BrCde;
this.gdbgrDtls[cc.RowIndex, 4].CellValue = frmGroups.PntblNm;
this.gdbgrDtls[cc.RowIndex, 5].CellValue = frmGroups.rntstck;
this.gdbgrDtls[cc.RowIndex, 6].CellValue = frmGroups.crndStck;
this.gdbgrDtls[cc.RowIndex, 7].CellValue = frmGroups.srvdStck;
this.gdbgrDtls[cc.RowIndex, 8].CellValue = frmGroups.hwdstck;
this.gdbgrDtls[cc.RowIndex, 9].CellValue = frmGroups.lkdStck;
but it is not working 100%. the above code is working on button click. After clicking it the values are appeared in grid but after clicking on grid those values are disappearing.