How:Highlight A Row In A Datagrid

vb.net , highlight , row , datagrid , combobox Villeurbanne, France
  • 9 years ago
    Hi, I am working on vb.net.What I want to ask is that I have one combo box and one datagrid.Both of these are loaded with same values.When I click on a cell in a datagrid I can bring the selected text onto the combo box.I want to do the reverse of this i.e. when I select a value in a combo box, the cell in the datagrid with same value selected in the combo box gets highlighted. Please help me solve this problem. Thank You
  • 9 years ago
    Hi, Search the grid with the value you selected in the combobox. i.e. using any looping statement. Then set the back color of that row. Regards, Royal

Post a reply

Enter your message below

Sign in or Join us (it's free).

Contribute

Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“There are 10 types of people in the world, those who can read binary, and those who can't.”