I shared this list of personal favorite things to do in Vermont for someone who is coming here next weekend and thought I would share. This is all focused mostly in Northern Vermont.
www.shelburnemuseum.org
Don’t Forget: www.acehaid.org
I shared this list of personal favorite things to do in Vermont for someone who is coming here next weekend and thought I would share. This is all focused mostly in Northern Vermont.
One of the fun brain teasers that was asked in my What’s new in ADO.Net 2.0 talk today at Code Camp 4 in Boston was if it was possible to create a DataReader from the original values of a DataTable using the new CreateDataReader method.
Although there isn’t a direct way to do it, I came up with a simple way to achieve this.
Basically you get a dataview of the table. Set the RowsStateFilter to OriginalRows. (That’s available in 1.x also). Then use the new DataView.ToTable method to create a new table. Lastly, use the Table.CreateDataReader to create a DataTableReader.
dim dv as DataView=myTable.DefaultView
dv.RowStateFilter = DataViewRowState.OriginalRows
dim dtNew as DataTable=dv.ToTable()
dim dtr as DataTableReader=dtNew.CreateDataReader
Don’t Forget: www.acehaid.org