-6
' Load data for the ViewModel Items
Protected Overrides Sub OnNavigatedTo(e As NavigationEventArgs)
Using (StudentContext c = New StudentContext(StudentContext.ConnectionString))
c.CreateIfNotExists()
c.LogDebug = True
MainLongListSelector.ItemsSource = c.Students.ToList()
End Using
End Sub
我有錯誤')' expects and in line 3 on "c"
。如何處理這個?謝謝vb中的語法錯誤
你混合VB .NET的語法和C#。你的問題被標記爲C#,但語法是VB .NET –
這絕對不是C#。 – grovesNL