Quantcast
Channel: Windows Forms Data Controls and Databinding forum
Viewing all articles
Browse latest Browse all 2535

VB.NET Access data base asking from LINQ

$
0
0

I have a program where I have link Access datebase (Samochody). Right now I try to List all Cars with only BMW with first column (name: Marka). I write some LINQ ask but I have a problem, when I start a program and click button I see:

`An unhandled exception of type 'System.MissingMemberException' occurred in Microsoft.VisualBasic.dll

Additional information: There is no public Model for DataRowView.`

I have make something like this:

Dim test = From Samochody In SamochodyBindingSource Where_
Samochody.Model ="BMW" Order By Samochody.Model Select Samochody.ModelDim s AsString="Model"ForEach Samochody In SamochodyBindingSource
        s &= Samochody.ModelNext
        MessageBox.Show(s)

And the problem is show in line:

s &= Samochody.Model

Could You give me some clue or information where can I find good manual for this type of data sorting method? Or perhaps information how I can make something similar?


Viewing all articles
Browse latest Browse all 2535

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>