Question
7
Replies
291
Views
Fifth Third Bank
Posted: July 4, 2017
Last activity: September 1, 2017
Closed
Solved
Datagridview SetCellValue method not working.
Hi,
I've a windows adapter which has datagridview (some columns are editable and some are non-editable).
Now when I'm trying to update the cell value of datagridview, is it setting whatever value I've set for that instance only. After that when I re-launch the same application, the value which I updated is not there.
Studio version: 8.0.1037
Adapter: windows adapter.
Thanks,
Harish.
***Updated by moderator: Lochan to add SR details***
Hey Harish,
I am going to assume that if you manually input the data it saves in between sessions. What is most likely happening here is that the page is waiting for an event which is not raised when you input the information through the Set Value method. You can try raising this event by setting the value or setting the text in the dataGridView and then triggering a few raise events which could simulate the click more accurately (Mouse over, mouse down, mouse up, key down, key up, etc...). You could also simulate similar functionality via JavaScript if you would prefer.