Hello, I'm Veri new in VB and i try to Search data and display results in DataGridVIew.
I use this Code
and this code works only if I write full Name Example. if I Write "JOHAN" he found but problem is if I write only "JOH" there is no resultants, have resultants only if I write FULL name "Johan"
Can this to work without the written completely Name full name.
it is possible to fix it. I am very young in VB and did not understand much in VB.
(I visual studio 2010)
Thank You.
I use this Code
Code:
Me.Contact_table1BindingSource.Filter = "FirstName = '" & TextBox2.Text & "'"
and this code works only if I write full Name Example. if I Write "JOHAN" he found but problem is if I write only "JOH" there is no resultants, have resultants only if I write FULL name "Johan"
Can this to work without the written completely Name full name.
it is possible to fix it. I am very young in VB and did not understand much in VB.
(I visual studio 2010)
Thank You.