This one is easy to reproduce. Follow these steps to see the bug for yourself. Using netTiers2.0.1
In the Admin Website that is generated....
Click one of your tables in the left hand menu and the GridView will load.
Now by default you see 10 records per page.
Change the "Records Per Page:" to say 20
Now we have 20 records on the page
Selecting any record above the Record number 10 will cause the "Null Exception" in the method below on this piece of code "GridView1.SelectedDataKey.Values[0]);"
protected void GridView_SelectedIndexChanged(object sender, EventArgs e)
{
string urlParams = string.Format("Pk={0}", GridView1.SelectedDataKey.Values[0]);
Response.Redirect("_whatever.aspx?" + urlParams, true);
}
If you select any record between 1-10 it is fine....
Hope you can fix it.
Thanks
Matt