Category Archives: Visual Basic .Net

Create new DataTable from the DefaultView of the another DataTable

The following article demonstrates how to create new DataTable from the DataView or DefaultView of another DataTable. The general requirement for doing this is that once you have retrieved DataTable from a data source and than you may need to sort or filter the data without retrieving it again. You can use the ToTable() method … Continue reading Create new DataTable from the DefaultView of the another DataTable

Export the content of DataGridView to Word Document in vb.net

Several days past i got a comment of my user on the article ‘Create a new Word document using VB.Net‘. He was facing the trouble to export the image to Word document. He wrote his problem as: I have a Datagridview and all those three fields has been showed in the Datagridview , I have … Continue reading Export the content of DataGridView to Word Document in vb.net

Render <, >, and & characters in Web Browser in Visual Basic

Some time When you need to use some characters as text like and & in your web page, browsers understand these characters as the part of the html tags and they rendered incorrectly these characters unless characters are escaped as <, >, and & respectively. This scenario is same in Web browser control in .net. … Continue reading Render <, >, and & characters in Web Browser in Visual Basic