i want to update the info of the highlighted row

Please tell us more.

What is that control (grid) ?

What is the database ?

How it is connected ?

How are you populating the grid ?

DataGrid
MySQL
Adodc

Please go through this.

how can i update the highlighted row?

Showdow, show the efforts my man.:)

Again, debsisdas gave you the solution, just follow the link, have a look at the last part -

Finally you need to display the data in the DataGrid control. To accomplish this, go to the properties window and set the DataSource property of the DataGrid to Adodc1. You can also permit the user to add and edit your records by setting the AllowUpdate property to True. If you set this property to false, the user cannot edit the records. Now run the program and the output window is shown below:

This will automatically update the record.

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.