Sign in
|
Join
|
Help
in
Current Tags
Mike McIntyre's .NET Journal
Blogs
(Entire Site)
vbCity Blogs
New (temp) place for vbCity Blogs
Home
Blogs
Media
This Blog
Home
Syndication
RSS for Posts
Atom
RSS for Comments
Email Notifications
Go
Recent Posts
Visual Basic 2008 - Create a DataTable From Linq Query Results
Get List of Ports with Visual Basic My and Linq
Use Linq To Count Occurrences of a Character in a String
LINQ to Micorosoft Access via LINQ to DataSet
Visual Basic 2005/2008 - Get String Array from Lines in a Multiline TextBox
Tags
.net
array literal
collection initializer
development
DLR
dynamic language runtime
edit mode
ErrorProvider
example
expression grid editing
extension method
GetFiles
Getting Started
join
lambda
Linq
Multiline
silverlight
sql
vb.net
visual basic
visual basic 10
visual basic 2008
visual basic 2010
Visual Studio 2010
Archives
November 2009 (6)
October 2009 (9)
September 2009 (10)
August 2009 (8)
July 2009 (3)
June 2009 (1)
May 2009 (2)
April 2009 (3)
March 2009 (10)
February 2009 (11)
January 2009 (5)
December 2008 (5)
November 2008 (9)
September 2008 (1)
Mike McIntyre's .NET Journal
Browse by Tags
All Tags
»
Linq
(
RSS
)
Access
DataSet
DataTable
LINQ to DataSet
Microsoft Access
Multiline
Multiline TextBox
My
visual basic
Visual Basic 2008 - Create a DataTable From Linq Query Results
Below is a class that contains a method that can create a DataTable object form Linq Query Results. I find the LINQToDataTable method really handy when I am creating Crystal reports. Crystal Reports love to report on DataTables....
Posted
Nov 06 2009, 07:40 AM
by
Mike McIntyre
with
Filed under:
Linq
,
DataTable
Get List of Ports with Visual Basic My and Linq
There are many ways to combine the Visual Basic My feature with LINQ. Heres an example that gets a list the ports on a computer: Dim portsList As List( Of String ) = ( From p In My .Computer.Ports.SerialPortNames Select p).ToList()
Posted
Sep 24 2009, 07:26 AM
by
Mike McIntyre
with
Filed under:
visual basic
,
Linq
,
My
Use Linq To Count Occurrences of a Character in a String
Here's an example showing how to count the occurrences of a character in a string: Dim searchString As String = "This is the dawning of the age." Dim count As Integer = ( From s In searchString.ToCharArray Where s = "i" Select...
Posted
Sep 09 2009, 09:48 PM
by
Mike McIntyre
with
Filed under:
Linq
LINQ to Micorosoft Access via LINQ to DataSet
// Fill the Customer table that is part of the AjaxDataSet AjaxDataSetTableAdapters. CustomerTableAdapter customerTableAdapter = new LINQ_To_MSAccess_CS2008.AjaxDataSetTableAdapters. CustomerTableAdapter (); customerTableAdapter.Fill(ajaxDataSet.Customer...
Posted
Mar 19 2009, 08:09 AM
by
Mike McIntyre
with | with
no comments
Filed under:
Linq
,
Microsoft Access
,
Access
,
DataSet
,
LINQ to DataSet
Visual Basic 2005/2008 - Get String Array from Lines in a Multiline TextBox
A post on vbCity asking how to get the lines in a VB6 multiline TextBox reminded me how much I like using VB.NET. In VB.NET 2005 its this easy: Dim multilineStrings() As String = Me .MyMultilineTextBox.Lines In VB.NET 2008, you can use LINQ too:
Posted
Feb 20 2009, 07:09 AM
by
Mike McIntyre
with
Filed under:
Multiline TextBox
,
Multiline
,
Linq
Copyright 1998-2009 vbCity.com LLC