Mehmet Fatih

Mehmet Fatih

  • 852
  • 939
  • 40.9k

Selecting updated row in datagridview

Feb 20 2024 2:26 PM

I am using ADO.Net datadridview. I am updating the data in a paginated row in the datagridview. With the following code, I stay on the same page, but I cannot stay on the updated row. How can I be both on the same page and on the row I'm updated on?

this.dataGridView1.DataSource = GetCurrentRecords(this.CurrentPageIndex, conn);


Answers (3)