how to Refresh the grid by button click event?

I have the form with one grid and one button

in that grid contains four field when i press the button the field values will be update by coding in button cliked event.

the upadation is work but grid is not refreshed?

Could U help me Plsssssssssssss???[W]

Hello,

After you are updating the record you need to write

Datasource_ds.reread();

Datasource_ds.refresh();

or

Datasource_ds.research(true);

Datasource_ds.refresh();

Regards

Arun Garg

Thanks Arun its working

Datasource_ds.research(true);

Datasource_ds.refresh();

but i tried this its not working

Datasource_ds.reread();

Datasource_ds.refresh();

can u pls tell me what is different between research and reread and refresh

At the end of clicked method just write as:

Table_ds.research();

Table_ds.refresh();

Go here for the difference: http://kashperuk.blogspot.in/2010/03/tutorial-reread-refresh-research.html

Thanks for all its working

Im a beginner please always help me like this… Thank u