DataView Find Problem
ASP.NET
1
Posts
1
Posters
0
Views
1
Watching
-
Hi, I am trying to develop one ASP.NET application. I am trying to populate a datagrid with a table content. I want one of the fields Read only in the page when I display the content. If I write like this
MyView.Table.Columns[0].ReadOnly=false; intIndexToEdit = MyView.Find(((TextBox) e.Item.Cells[1].Controls[0]).Text);
I am getting error index out of range. If I remove the ReadOnly then there is no error. I couldn't get what's the error. Can anybody help??? Regards, Satya.