hi all,
i search in google, i didt get any solu.so raised ? here.if anybody know plz let me know thnks

try either or the codes below:

dropdown1.Items.FindByValue("0").Attributes.Add("style", "font-weight:bolder")
or

dropdown1.Items.FindByValue("0").Attributes.Add("style", "font-bold:true")

Let me know

hi bio\
thnks for reply.i tried this way also before raise my ? here.but its not supporting to DDlist.any more idea plz

<select>
            <option>Yes</option>
            <option style="background-color: yellow;  font-weight:bold;">No</option>
            <option>Maybe So</option>
        </select>

This will work fine in Firefox but ie does not support it. An alternative will be to use the background-color property to highlight an option rather than making it bold.
Happy Programming :)

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.