By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
464,288 Members | 1,176 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 464,288 IT Pros & Developers. It's quick & easy.

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

P: n/a
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.

Oct 6 '05 #1
Share this Question
Share on Google+
1 Reply

P: n/a
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

"coco" wrote:
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.

Oct 7 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.