Forums - C# Corner

Forum guidelines
Paul Rajs

Paul Rajs

  • 1.3k
  • 449
  • 33.9k

how to Find this RowIndex Value - ds.Tables[0].Rows[rowindex

May 23 2018 2:04 AM

hi developers ,

i am binding 10 records in a loop.

each record is loading one by one , i can get the column value.

now i want to read the row index value of this - ds.Tables[0].Rows[rowindex]-

that value is come first time the loop is execute value will be 1 then 2 and 3 etc .

the value is in that dataset am put breakpoint and i find it like first loop is executing rowid=1 , then second time rowid=2 , so how can i get it and put it a variable

thanking you


Answers (1)