Datagrid Selection Problem
I'm writing a program in ASP with VB.Net as the code behind. On one of the pages I have a datagrid. From the PropertyBuilder for the grid I added buttons that would allow the selection of a row. It worked great. However, I did something to the grid which was causing errors, so I deleted it. I recreated the grid and gave it the same name as the original one. After that the selection of a row no longer worked. The SelectedIndexChanged code was no longer being called when I tried to select a row. I remember that someone once told me that by deleting an object and then adding a new one with the same name might confuse .Net. So I deleted the SelectedIndexChanged code and added it back in. But that didn't fix the problem either. Any suggestions?