11-07-18, 05:02 PM
طريقة استدعاء الاجراء المخزن
PHP كود :
Try
Dim command As New SqlCommand("searchtb", conns)
command.Parameters.AddWithValue("@STUDNAME_TB", Trim(Me.TextSEARCH.Text))
command.Parameters.AddWithValue("@STUDNOTE_TB", Trim(Me.TextSEARCH.Text))
command.CommandType = CommandType.StoredProcedure
Dim adapter As New SqlDataAdapter(command)
Dim table As New DataTable()
adapter.Fill(table)
DataGridView1.DataSource = table
Catch ex As Exception
MsgBox(ex.Message)
End Try
