or
Dim Exporter As New Export.ExportToExcelML(activegrid) Try Exporter.RunExport(file) Catch ex As Exception MsgBox(ex.Message) End TryEnd SubcbTextBox.TextBoxElement.TextBoxItem.LostFocus += new EventHandler(TextBoxItem_LostFocus);cbTextBox.LostFocus +=new EventHandler(TextBoxItem_LostFocus);grid.TableElement.Update(GridUINotifyAction.DataChanged);grid.TableElement.Update(GridUINotifyAction.StateChanged);