Quantcast
Channel: Powertips » Datatable
Browsing latest articles
Browse All 2 View Live

How to Select Records in the Datatable

To select records/items in the datatable;   Sub FilterData(dt as DataTable) Dim dRow() as Datarow   dRow = dt.select("CustomerID=10" )   Console.WriteLine("Rows " & dRow.Length)     End Sub

View Article



Specified cast is not valid in WriteXml using Dataset

This exception appears when using WriteXml of datatable or dataset. This is also caused by when you create a datatable manually and you set the “defaultvalue” to one or more datacolumn. Remove the...

View Article
Browsing latest articles
Browse All 2 View Live




Latest Images