Answered by:
What replaces System.Data ?

Question
-
Have a c# project written in 2009, trying to bring into the windows store universal app (windows 8.1 VS 2013, c#). The old project has references to Microsoft.sql.server.type
s (SurveySegments), and System.Data. Was getting errors - Error 1 Cannot find type System.SystemException in module mscorlib.dll. that led me to this link...https://social.msdn
.microsoft ..com/forum s/windowsa pps/en-us/ eac6e48e-f f8a-46b4-9 482-04cba3 7245be/sys temdatadll -error
This says "System.Data not found in windows store. you should do database proccess with WebServices in windows store".Has this been address in any new dll's?
How to fix this?
Monday, February 2, 2015 7:37 PM
Answers
-
Hi mobilelou,
Sorry System.Data is not supported in Windows Store App. You may also see this Class is not supported via MSDN documentation.
To use database you may need use SQLite or some Web Service( for instance WCF).
--James
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click HERE to participate the survey.- Marked as answer by Jamles HezModerator Thursday, February 19, 2015 8:52 AM
Tuesday, February 3, 2015 2:30 AMModerator -
Hi mobilelou,
Sorry for a late response, base on the documentation: Microsoft.SqlServer.Types, the namespace is not intended to be used in your code.
Besides if you need to know how to work with SQLite, you may ref to some documentation: http://blogs.msdn.com/b/robertgreen/archive/2012/11/13/using-sqlite-in-windows-store-apps.aspx also SQLite
--James
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click HERE to participate the survey.- Proposed as answer by Jamles HezModerator Monday, February 16, 2015 8:10 AM
- Marked as answer by Jamles HezModerator Thursday, February 19, 2015 8:52 AM
Monday, February 16, 2015 8:09 AMModerator
All replies
-
Hi mobilelou,
Sorry System.Data is not supported in Windows Store App. You may also see this Class is not supported via MSDN documentation.
To use database you may need use SQLite or some Web Service( for instance WCF).
--James
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click HERE to participate the survey.- Marked as answer by Jamles HezModerator Thursday, February 19, 2015 8:52 AM
Tuesday, February 3, 2015 2:30 AMModerator -
Ok . So, will SQLite (or other), have Microsoft.sql.server.type
s\SurveySegments ? It is not that I have a thing for System.data, rather than I want to do Metes and Bounds? Thanks. Tuesday, February 3, 2015 2:59 PM -
Hi mobilelou,
Sorry for a late response, base on the documentation: Microsoft.SqlServer.Types, the namespace is not intended to be used in your code.
Besides if you need to know how to work with SQLite, you may ref to some documentation: http://blogs.msdn.com/b/robertgreen/archive/2012/11/13/using-sqlite-in-windows-store-apps.aspx also SQLite
--James
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click HERE to participate the survey.- Proposed as answer by Jamles HezModerator Monday, February 16, 2015 8:10 AM
- Marked as answer by Jamles HezModerator Thursday, February 19, 2015 8:52 AM
Monday, February 16, 2015 8:09 AMModerator