smo restore database

I use SQL Server SMO to restore a .bak to a new database, but failed to work.

sql server is 2012 and smo object version is from the latest sdk version 11.0

file .bak was created using sql …

Filter ng-options from ng-options selection

I’m hoping to solve three problems…

In my app page I have one select for states and another for counties. For states I have: