Check documentation for the latest version of dhtmlxSuite DBError DHTMLX Docs

DBError

The DBError event fires when a database operation results in an error. In this event error_details method receives a reference to the data item object currently being rendered.

public void error_details(object sender, DataActionProcessingEventArgs args)
{
   args.DataAction.Details = "DB operation failed";
}
 
connector.OnDBError += new EventHandler<DataActionProcessingEventArgs>(error_details);

DataAction.Details contains DBMS error message.

Back to top