Código PHP:
Dim connection As MySqlConnection
connection = New MySqlConnection
connection.ConnectionString = System.Configuration.ConfigurationManager.ConnectionStrings("EDMACminConnectionString").ConnectionString
connection.Open()
Dim ComandoSQL As New MySqlCommand("Select * From minare", connection)
Dim query As String = "select idare, fecare, codare, nomare from minare " & _
"WHERE codare = ?codare " & _
"ORDER BY codare"
Dim cmd As New MySqlCommand(query, connection)
cmd.Parameters.AddWithValue("?codare", (TextBox1.Text))
Dim ds As New DataSet
Dim da As New MySqlDataAdapter(cmd)
da.Fill(ds)
GridView1.DataSource = ds.Tables(0)
GridView1.DataBind()
De antemano saludos y gracias por la ayuda!!!