I am developing a C# Windows application using VS2005. I use SQL Server 2005 as the back end database. Do you know how I can resolve the error:
"IndexOutOfRangeException was unhandled. Cannot find table 0."
The offending statement is at the following line of code at the beginning of my FOR loop:
i <= ds.Tables.Rows.Count - 1
This error occurs in my module titled FallQueryACSToExcel which I attached.