Error
  • JHTMLicon not supported. File not found.
  • JHTMLicon not supported. File not found.
  • JHTMLicon not supported. File not found.
  • JHTMLicon not supported. File not found.
  • JHTMLicon not supported. File not found.
  • JHTMLicon not supported. File not found.

filtered

How to coonvert DataView into Table
Monday, 19 December 2011 01:02
In ADO.NET 2.0, the DataView Object has a new method called ToTable, which allows you to create a new table based on data in the DataView.

Here is an example that we used above that creates a new DataTable listing Brazilian Contact Names only:


//Filtered records
DataView dv = new DataView(GetTable(),"Region = 'SP' and Country = 'Brazil'", "ContactName", DataViewRowState.CurrentRows);
//Create new table based on filtered records
DataTable newTable = dv.ToTable("BrazilianContactNames", true, new string[] { "ContactName" });
//Bind grid with only filtered records
dataGridView1.DataSource = newTable.DefaultView;

Read more: http://feeds.dzone.com/~r/dzone/snippets/~3/ZaWNKs828A4/14233

 
"Bloat-Resistant" Beer Probably Tastes Like Pee Water [Beer]
Wednesday, 20 July 2011 13:00
Molson Coors is releasing Animee, a new bloat-resistant beer targeted at women. Supposedly, the brewery spent two years developing the "lightly sparkling and finely filtered" beer that comes in three flavors: clear filtered, crisp rosé and zesty lemon. More »


Read more: http://feeds.gawker.com/~r/gizmodo/full/~3/bJ5effmqs6k/a-new-bloat+resistant-beer-for-women-probably-tastes-like-piss-water

 


Taxonomy by Zaragoza Online