Hi Friends
Any one can help to do windows store apps using data base
1) is it possible to use any data base in windows 8 metro apps?
2) if it is no is there any other way to do data storage?
Thanks & Regards
-----------------------
Ashok Kallagunta
Loading

Richa GargPosted Sep 11, 2012, 4:13 AM
In Windows 8 apps their is no direct way to connect with the database. You have do this through web services, APIs and the OData Services. when we make these then we consume it in our windows 8 apps.
So it is not possible to use direct any database in your windows 8 apps, we can do this by using Api, services etc. You can see my article that is posted in the http://www.c-sharpcorner.com as,
http://www.c-sharpcorner.com/UploadFile/c25b6d/create-a-web-api-and-consume-it-in-the-windows-8-apps/
If you are satisfy with this answer then mark it as accepted.
Sukesh MarlaPosted Sep 11, 2012, 2:13 AM
There is no way to directly access database in Windows 8 Metro App
But instead
You can Create WCF REST Services
And you can access those WCF Service as
WinJS.xhr({
type: "POST",
headers: { "Content-type": "application/json; charset=utf-8" },
url: URL
, data: data
}).then
(
function (result)
{
},
function (result)
{
}
);
Check this is corerct answer if it helped