Hello.
I use SqlDataSource as RadGrid data source (RadGridTable.DataSourceID = "SqlDS").
I configure SqlDataSource at Page_Load event (SqlDS.SelectCommand = "SELECT * ...").
If SQL Server returns an error then application crashes with unhandled exception.
How can I catch SqlException in that scenario?
Vadim.
I use SqlDataSource as RadGrid data source (RadGridTable.DataSourceID = "SqlDS").
I configure SqlDataSource at Page_Load event (SqlDS.SelectCommand = "SELECT * ...").
If SQL Server returns an error then application crashes with unhandled exception.
How can I catch SqlException in that scenario?
Vadim.