How can I cancel selecting rows in SqlDataSource when SelectCommandtimed out?
I know that I can set CommandTimeout property but I want to Handle error and force Page to continue running when SqlDataSource timed out.
for more information:
in my page, a ListView use SqlDataSource result but this result is not my main content and just recommendation similar list for main content.
I found the solution: after
Selectingtimed out,SqlDataSourceSelectedevent start running.