Our code used to work before upgrading to March 09.
None of the columns are there and the count that I used to get on my last line is 0.
Can you please advise?
| public SearchResultsPage(cRecordIndexObjectList[] recordIndexObjectList) |
| { |
| InitializeComponent(); |
| dt = new DataTable(); |
| General.ConvertRecordIndexObjectToTable(recordIndexObjectList, dt,null); |
| gvSearchResults.ItemsSource = dt; |
| // Hide the IsBold column |
| GridViewColumn columnBold = gvSearchResults.Columns["IsBold"]; |
| if (columnBold != null) |
| columnBold.IsVisible = false; |
| // Hide the RecordIndexObjectList object |
| GridViewColumn column = gvSearchResults.Columns["RecordIndexObjectList"]; |
| if (column != null) |
| column.IsVisible = false; |
| gvSearchResults.Visibility = Visibility.Visible; |
| lblTotal.Content = "Total Records: " + gvSearchResults.Records.Count; |
| } |
None of the columns are there and the count that I used to get on my last line is 0.
Can you please advise?