Hi friends,
Need you help.

I m using some search criteria and searching the data from database.
now i got the data from database as per search word. and displaying all information on web page.
now i want to change the background color of that word as when we search in daniweb and we get the word highlighted .

Please help me...

Recommended Answers

All 4 Replies

How are you displaying the search results on the page ?

How are you displaying the search results on the page ?

m displaying the data in on its related page.

Suppose in MAster i have four tables to be searched
i have one dropdown in that m showing the data to be Search In
if i give blog int that dropdown then it ll search a data in blog table and show the blog page.

In blog page m using Gridview.
in that one column and itemtemplate in that.

Now in item template i have label and all and now on that label i have to hightlight the search data.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.