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

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.
 
G

Guest

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top