Using ASP.NET, I created dynamic data folder using custom pages. The table in the DB that this folder refers to has 3 FK's, which appear as hyperlinks when viewed on screen inside the table (see below)
Take the first record for an example, When I click on 'thur 21st march' or '100' it will bring me to the corresponding page i.e the particular diary page or invoice page.
However problem being when I click on 'over there' to load the subcontractor page the application crashes at:
void DetailsView1_PreRender(object sender, EventArgs e)
{
int rowCount = DetailsView1.Rows.Count;
SetDelete(DetailsView1.Rows[rowCount - 1]);
}
The error is:
Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index