Click here to Skip to main content
15,891,253 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hello, I have made a search in the datagridview. I can search everything it is working fine. When the textbox is empty all the records in the datagridview is visible but i cannot add more records in this. These are my codes
VB
Private Sub Button18_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button18.Click
      If RadioButton3.Checked = True Then
          Table2DataGridView.DataSource = Me.Rat.Table2.Select("Name like '" & TextBox3.Text & "%" & "'")
      End If
  End Sub

Help me out in this. Thanks in advance.
Posted
Comments
Maciej Los 15-Oct-14 2:29am    
Help what?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900