Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
200
how to get dataset from a grid which has already bound to a dataset
posted

 I have a datagrid wich is already bound to a dataset, I need toget this dataset,make changes on some data, then rebind the datagrid with the modified dataset. Like this:

datagrid1.datasource=ds1;

..........

//how to get the dataset from the datagrid???

ds2=datagrid1.datasource;

make changes on ds2;

datagrid1.datasource=ds2;