e.Item.Cells(0).Text, datagrid, highlighted search

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello everyone
I have a question,
How can I search a string (called TextBox1.Text) in "e.Item.Cells(0).Text"
and if this string exist, then it will be highlighted (yellow), only the
string.

Thanks

Coco

for example, if e.Item.Cells(0).Text = " This is a test" and TextBox1.Text =
"test"
then when the datagrid shows the result, it will show that row with a "test"
text format highlighted.
 
are you talking about the on data bind? or on edit?
if you are using a textbox.... it leads me to be onedit, is this correct?

Regards,
Jonathan
 
Back
Top