I am writing following code to fetch the data from database, using stored procedure. problem is it is highlighting ByVal and when I mouse over, it is displaying expression expected.
Please anyone can tell me what is the reason?
Mapdata is a class which contains the stored procedure SPar.
thks
Please anyone can tell me what is the reason?
Mapdata is a class which contains the stored procedure SPar.
Code:
Dim ds As New DataSet
Dim objdata As New Mapdata
ds = objdata.SPar(ByVal Connection As String, ByVal houseNumber As String, ByVal streetAddress As String _
, ByVal city As String, ByVal zip As String, ByVal taxkey As String) As DataSet
DataGridView1.DataSource = ds.Tables(0)
Comment