c# - How to hightlight part of the text in datagridview column? -
i have search button finds particular text on button click. want hightlight text user searched not entire text. how do it? search code.
private void button7_click_3(object sender, eventargs e) { string filterby; filterby = "stringtext '%" + textbox6.text + "%'"; ((datatable)datagridview1.datasource).defaultview.rowfilter = filterby; }
any ideas?
i don't think functionality available winform controls yet, devexpress
has control searchlookupedit
you're trying achieve. see here.
Comments
Post a Comment