Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.
Try Dim db As New DataContext("C:\Grow.mdf") Dim Strains As Table(Of Strain) = db.GetTable(Of Strain)() Dim q = From objStrain In Strains Select objStrain.StrainID, objStrain.Code, objStrain.Name Order By Code If q.Count = 0 Then MsgBox("Nothing returned.") Exit Sub End If DataGridView1.DataSource = q Catch ex As Exception MsgBox(ex.Message) End Try
Join the community of 500,000 technology professionals and ask your questions.
Connect with top rated Experts
10 Experts available now in Live!