- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails
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
How to retrieve the Value of the displaymember of a DataGridViewComboboxColumn
|sorting efficency of sorting algorithm||30||78|
|Select datagridview rows by range or numbers||11||21|
|Copy/Clone an object.||9||10|
Join the community of 500,000 technology professionals and ask your questions.
Connect with top rated Experts
11 Experts available now in Live!