hi
This is My Code
Reader.New1
Command.AddParameter("SEARCH")
Command.SetParameter("SEARCH","%" & TextBox1.Text & "%")
str = "SELECT * FROM info WHERE name LIKE @SEARCH"
Command.CommandText = str
Connection.BeginTransaction
Reader.Value = Command.ExecuteReader
Do While Reader.ReadNextRow = True
Table1.AddRow (Reader.GetValue(0))
Loop
Reader.Close
when iam click the Search Button The Table is Show Button. Then I again Clicked The Search Button
There is a Error Like This
Please See The Attachment
This is My Code
Reader.New1
Command.AddParameter("SEARCH")
Command.SetParameter("SEARCH","%" & TextBox1.Text & "%")
str = "SELECT * FROM info WHERE name LIKE @SEARCH"
Command.CommandText = str
Connection.BeginTransaction
Reader.Value = Command.ExecuteReader
Do While Reader.ReadNextRow = True
Table1.AddRow (Reader.GetValue(0))
Loop
Reader.Close
when iam click the Search Button The Table is Show Button. Then I again Clicked The Search Button
There is a Error Like This
Please See The Attachment