ممنون دوست عزیز.ولی کلا به تابع SelectAll() گیر میده
Error 5 Cannot find all types required by the 'async' modifier. Are you targeting the wrong framework version, or missing a reference to an assembly?
فریم ورک پروژم هم 4 هست.
به await هم گیر میده
Error 2 The 'await' operator can only be used within an async method. Consider marking this method with the 'async' modifier and changing its return type to 'Task'.
به اکسپشن هم گیر میده.![]()