System.Data.SqlClient is a part of .NET framework, Metro applications are built over Windows Runtime. Read this: SqlClient is a part of .NET framework[^]. Open the references tab, and look for .NET for Windows Store apps. You will see that System.Data namespace (or System.Data.SqlClient namespace) is not available for use in Windows Store applications. Because, all of them require a separate framework, .NET framework and thus kills the purpose of Windows Runtime to be used. Here are a few threads that might help you in understanding the feedback for such actions. Programmers are raising their voices for getting System.Data namespace in Metro style apps. :-) https://visualstudio.uservoice.com/forums/121579-visual-studio/suggestions/2759791-make-system-data-available-to-metro-style-apps[^] http://stackoverflow.com/questions/11947078/retrieving-data-from-sql-using-c-sharp-metro-app[^] https://social.msdn.microsoft.com/Forums/windowsapps/en-US/e9cdd75d-03e4-4577-988e-4c02a52e3f50/sql-database-support-in-metro-style-app?forum=winappswithcsharp[^]
The shit I complain about It's like there ain't a cloud in the sky and it's raining out - Eminem ~! Firewall !~