Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27349

no value given for one or more param required

$
0
0
i get this error "no value given for one or more param required "
can you pleaze help me to solve this problem and thank you
Code:

connection.Open()
        Dim id = "Fournisseur"
        Dim xxx = "SELECT * FROM [clients] WHERE type=" & id
        Dim myadapter As New OleDb.OleDbDataAdapter(xxx, connection)
        Dim ds As New DataSet
        myadapter.Fill(ds)
        myadapter.Dispose()
        Dim tbl As DataTable = ds.Tables(0)
        Dim panel As GridPanel = showusergrid.PrimaryGrid
        panel.ClearAll()
        showusergrid.BeginUpdate()
        For i As Integer = 0 To (tbl.Rows.Count.ToString - 1)
            panel.Rows.Add(New GridRow(tbl.Rows(i).Item("id"), tbl.Rows(i).Item("type"), tbl.Rows(i).Item("civil") & Space(2) & tbl.Rows(i).Item("nom"), tbl.Rows(i).Item("adresse"), tbl.Rows(i).Item("gsm")))
        Next i
        showusergrid.EndUpdate()
        connection.Close()


Viewing all articles
Browse latest Browse all 27349

Trending Articles



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