How to create a DataView from DataTable?

 Posted by Raja on 3/3/2009 | Category: ADO.NET Interview questions | Views: 13071

In order to create a DataView from a DataTable, use instantiate the DataView object by passing DataTable as parameter in the constructor.


DataView dView = new DataView(dTable);

Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response