I am trying to design a mini project of a quiz application using resource bundle. I get an error of There is no row at position 0 when I insert the following
There is no row at position 0
There are no rows in ds.Tables["QA"].
ds.Tables["QA"]
You need to check if there is a row you want to read before attempting it:
if (recno < ds.Tables["QA"].Rows.Count) textBox1.Text = ds.Tables["QA"].Rows[recno].ItemArray[2].ToString();