遇到新Windows Mobile项目的问题。我创建了一个DataSet并添加了DataSetTableAdapters。在其中添加了一个查询并尝试运行它,一切运行良好。但是,当我试图将它实现到我的代码时,我得到一个错误
No symbols are loaded for any call stack frame
哪里可以有问题???
这是一个代码示例:
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim username As String
Dim kiekis As Integer
Dim EmpAdapter As DataSet1TableAdapters.EMPTableAdapter
EmpAdapter = New DataSet1TableAdapters.EMPTableAdapter
username = "Petr%"
kiekis = EmpAdapter.Kodas(SCANCODE:=username).Count
Label1.Text = kiekis.ToString()
''MsgBox(kiekis.ToString)
End Sub