Hi,
Thanks to every one who have dropped their help for my post.
I have no problem at all in sorting the data in the grid.
At first the DataSet will contain the data from the DataBase. Am fetching
all the data from the DataSet and create a new DataTable along with the new
values entered by the user in the DataGrid. Then Inorder to sort the data am
casting it to a DataView and sorted. Then I am binding the DataView to the
Grid. At this point I want all the data in the DataView to be in the DataSet
for future reference by the same event. So to have all those data in the
DataView to be in the DataSet what can I do. Can you please help me out.
Thanks,
N.Ramakrishnan
"Cor Ligthert [MVP]" wrote:
> Ramakrishnan.
>
> A dataview holds no data.
>
> However it holds (in Net 1.x) a reference to its datatable and in 2.0 it
> will holds a reference to get its selected/sorted datarowviews.
>
> Therefore what you want you can do in version 2.0. For 1.x you can use this
> sample (what is not so much more work).
>
> http://www.windowsformsdatagridhelp....7-d6ad9bebf57f
>
> I hope this helps,
>
> Cor
>
>
>
>
>
>