Be more than mobile, reach every Windows screen
Reach millions of players across phone, PC, and Xbox One
The Internet of your things
i want to Cast dataGridView1.DataSource to DataView
i try to this way DataView dataView = (DataView)dataGridView1.DataSource;
but get the error to Unable to cast object of type 'System.Data.DataTable' to type 'System.Data.DataView'.
is possible, please help.
Just try this and let me know if it works
If not working , let me know whether your datsource is a binding datasource?
it's work fine.
Thanks for your valuable replay.
Microsoft is conducting an online survey to understand your opinion of the Msdn Web site. If you choose to participate, the online survey will be presented to you when you leave the Msdn Web site.
Would you like to participate?